diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-04 17:28:02 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-04 17:28:02 +0400 |
commit | e62f13ac311eec269abb6a9429b29279dc642cec (patch) | |
tree | c7b8d18bba25dcfc21e83eb6fdcde1e15984fdb1 | |
parent | 8b1c1e9f61425ec17670fbc343c0eb5ca998e865 (diff) |
own mistake in recent commit CustomData_layertype_is_singleton()
was stopping bmesh python api adding multiple layers.
-rw-r--r-- | source/blender/blenkernel/intern/customdata.c | 2 |
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) |