Commit: 2bff2a33b4e1eb28a16694f899c52dd1e9cbcaa7
Author: Antonio Vazquez
Date:   Tue Jul 10 16:35:51 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB2bff2a33b4e1eb28a16694f899c52dd1e9cbcaa7

Do not include object type in name for Brush enums

===================================================================

M       source/blender/makesrna/intern/rna_brush.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_brush.c 
b/source/blender/makesrna/intern/rna_brush.c
index bc3ca43b537..8401843d19a 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -495,8 +495,8 @@ static const EnumPropertyItem 
*rna_DynamicGpencil_type_itemf(
                if (brush->gpencil_settings == NULL)
                        continue;
 
-               item_tmp.identifier = brush->id.name;
-               item_tmp.name = brush->id.name;
+               item_tmp.identifier = brush->id.name + 2;
+               item_tmp.name = brush->id.name + 2;
                item_tmp.value = i;
                item_tmp.icon = brush->gpencil_settings->icon_id;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to