initial bmesh python api.
corrently allows to create and loop over verts/edges/faces, access selection and selection modes. this is still WIP, access to face, edge verts is still missing, no access to UV's, no access to editing operations yet. When the api is ready it will be documented by sphinx like mathutils, blf, aud.
This commit is contained in:
@@ -5,12 +5,18 @@
|
||||
Import ('env')
|
||||
|
||||
incs = '. ../editors/include ../makesdna ../makesrna ../blenfont ../blenlib ../blenkernel ../nodes'
|
||||
incs += ' ../imbuf ../blenloader ../gpu ../render/extern/include ../windowmanager'
|
||||
incs += ' ../imbuf ../blenloader ../bmesh ../gpu ../render/extern/include ../windowmanager'
|
||||
incs += ' #intern/guardedalloc #intern/memutil #extern/glew/include #intern/cycles/blender'
|
||||
incs += ' #intern/audaspace/intern ' + env['BF_PYTHON_INC']
|
||||
|
||||
is_debug = (env['OURPLATFORM'] in ('win32-mingw', 'win32-vc','win64-vc') and env['BF_DEBUG'])
|
||||
|
||||
# bmesh
|
||||
defs = []
|
||||
|
||||
sources = env.Glob('bmesh/*.c')
|
||||
env.BlenderLib( libname = 'bf_python_bmesh', sources = Split(sources), includes = Split(incs), defines = defs, libtype = ['core','player'], priority = [362,165])
|
||||
|
||||
# generic
|
||||
defs = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user