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-05-04 17:28:02 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-04 17:28:02 +0400
commite62f13ac311eec269abb6a9429b29279dc642cec (patch)
treec7b8d18bba25dcfc21e83eb6fdcde1e15984fdb1 /source/blender/blenkernel
parent8b1c1e9f61425ec17670fbc343c0eb5ca998e865 (diff)
own mistake in recent commit CustomData_layertype_is_singleton()
was stopping bmesh python api adding multiple layers.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/customdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c
index bd079238b12..e32182ed36e 100644
--- a/source/blender/blenkernel/intern/customdata.c
+++ b/source/blender/blenkernel/intern/customdata.c
@@ -2610,7 +2610,7 @@ const char *CustomData_layertype_name(int type)
int CustomData_layertype_is_singleton(int type)
{
const LayerTypeInfo *typeInfo = layerType_getInfo(type);
- return typeInfo->defaultname != NULL;
+ return typeInfo->defaultname == NULL;
}
static int CustomData_is_property_layer(int type)