Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-22 13:19:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-22 13:19:53 +0400
commite7d98179eabcb44d8042d85b3be55f604833a088 (patch)
tree3f79235118ed0b61b2f6cd25b2cb472eb2045bd8 /source/blender/python/SConscript
parent3788adb8cbe227e68d6c4442d8896f8d00c502fb (diff)
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.
Diffstat (limited to 'source/blender/python/SConscript')
-rw-r--r--source/blender/python/SConscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript
index 2a47c2dcb96..996ee542769 100644
--- a/source/blender/python/SConscript
+++ b/source/blender/python/SConscript
@@ -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 = []