[Bf-blender-cvs] [27b4a1f] master: Correction to last commit, rna naming
Campbell Barton
noreply at git.blender.org
Fri Aug 15 11:35:27 CEST 2014
Commit: 27b4a1f7dda7cfb487cc8f27764235e46955ca58
Author: Campbell Barton
Date: Fri Aug 15 19:32:45 2014 +1000
Branches: master
https://developer.blender.org/rB27b4a1f7dda7cfb487cc8f27764235e46955ca58
Correction to last commit, rna naming
===================================================================
M release/scripts/startup/bl_ui/properties_data_modifier.py
M source/blender/makesrna/intern/rna_modifier.c
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index b729823..efc430d 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -820,7 +820,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col.prop(md, "use_rim")
col_rim = col.column()
col_rim.active = md.use_rim
- col_rim.prop(md, "rim_only")
+ col_rim.prop(md, "use_rim_only")
col.separator()
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index d47bf95..6fd89e5 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -2609,7 +2609,7 @@ static void rna_def_modifier_solidify(BlenderRNA *brna)
RNA_def_property_ui_text(prop, "Flip Normals", "Invert the face direction");
RNA_def_property_update(prop, 0, "rna_Modifier_update");
- prop = RNA_def_property(srna, "rim_only", PROP_BOOLEAN, PROP_NONE);
+ prop = RNA_def_property(srna, "use_rim_only", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_SOLIDIFY_NOSHELL);
RNA_def_property_ui_text(prop, "Only Rim", "Only add the rim to the original data");
RNA_def_property_update(prop, 0, "rna_Modifier_update");
More information about the Bf-blender-cvs
mailing list