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-03-18 03:22:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-18 03:22:44 +0400
commit560d8ad12cbef8573bbc48da4e56917ccfc75031 (patch)
treed4bdb36139ce6ec85ffbcf492b5b21a37865fdb8 /source/blender/python/bmesh/bmesh_py_types_customdata.h
parent05612c041964dd2950136af5486db9369969e2ae (diff)
bmesh py api:
use different types for bm.verts.layers, bm.faces.layers, otherwise the layers look to have customdata type that isnt compatible, UV's on edges for eg.
Diffstat (limited to 'source/blender/python/bmesh/bmesh_py_types_customdata.h')
-rw-r--r--source/blender/python/bmesh/bmesh_py_types_customdata.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_types_customdata.h b/source/blender/python/bmesh/bmesh_py_types_customdata.h
index 6ec947f98fa..c777150b25f 100644
--- a/source/blender/python/bmesh/bmesh_py_types_customdata.h
+++ b/source/blender/python/bmesh/bmesh_py_types_customdata.h
@@ -30,7 +30,12 @@
#ifndef __BMESH_PY_TYPES_CUSTOMDATA_H__
#define __BMESH_PY_TYPES_CUSTOMDATA_H__
-extern PyTypeObject BPy_BMLayerAccess_Type;
+/* all use BPy_BMLayerAccess struct */
+extern PyTypeObject BPy_BMLayerAccessVert_Type;
+extern PyTypeObject BPy_BMLayerAccessEdge_Type;
+extern PyTypeObject BPy_BMLayerAccessFace_Type;
+extern PyTypeObject BPy_BMLayerAccessLoop_Type;
+
extern PyTypeObject BPy_BMLayerCollection_Type;
extern PyTypeObject BPy_BMLayerItem_Type;