[Bf-blender-cvs] [93114b508a4] greasepencil-object: Cleanup: Rename gpencil_fill_simplyfy_lvl to gpencil_fill_simplyfy_level

Antonio Vazquez noreply at git.blender.org
Sat May 12 19:56:29 CEST 2018


Commit: 93114b508a43629a9aa22c69f377351b67ca2794
Author: Antonio Vazquez
Date:   Sat May 12 19:56:22 2018 +0200
Branches: greasepencil-object
https://developer.blender.org/rB93114b508a43629a9aa22c69f377351b67ca2794

Cleanup: Rename gpencil_fill_simplyfy_lvl to gpencil_fill_simplyfy_level

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

M	release/scripts/startup/bl_ui/space_view3d_toolbar.py
M	source/blender/makesrna/intern/rna_brush.c

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

diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
index 9019a9a1a46..f27e99e5411 100644
--- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py
@@ -1354,7 +1354,7 @@ class VIEW3D_PT_tools_grease_pencil_brush(Panel):
                 col = layout.column(align=True)
                 col.prop(brush, "gpencil_fill_leak", text="Leak Size")
                 col.prop(brush, "size", text="Thickness")
-                col.prop(brush, "gpencil_fill_simplyfy_lvl", text="Simplify")
+                col.prop(brush, "gpencil_fill_simplyfy_level", text="Simplify")
 
                 col = layout.row(align=True)
                 col.template_ID(brush, "material")
diff --git a/source/blender/makesrna/intern/rna_brush.c b/source/blender/makesrna/intern/rna_brush.c
index 1cc71bc71ec..2b5f3acc895 100644
--- a/source/blender/makesrna/intern/rna_brush.c
+++ b/source/blender/makesrna/intern/rna_brush.c
@@ -1697,7 +1697,7 @@ static void rna_def_brush(BlenderRNA *brna)
 	RNA_def_property_update(prop, NC_GPENCIL | ND_DATA, NULL);
 
 	/* fill simplify steps */
-	prop = RNA_def_property(srna, "gpencil_fill_simplyfy_lvl", PROP_INT, PROP_NONE);
+	prop = RNA_def_property(srna, "gpencil_fill_simplyfy_level", PROP_INT, PROP_NONE);
 	RNA_def_property_int_sdna(prop, NULL, "gp_fill_simplylvl");
 	RNA_def_property_range(prop, 0, 10);
 	RNA_def_property_ui_text(prop, "Simplify",



More information about the Bf-blender-cvs mailing list