Correction to last commit, rna naming

This commit is contained in:
Campbell Barton 2014-08-15 19:32:45 +10:00
parent 983cbafd18
commit 27b4a1f7dd
2 changed files with 2 additions and 2 deletions

@ -820,7 +820,7 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col.prop(md, "use_rim") col.prop(md, "use_rim")
col_rim = col.column() col_rim = col.column()
col_rim.active = md.use_rim col_rim.active = md.use_rim
col_rim.prop(md, "rim_only") col_rim.prop(md, "use_rim_only")
col.separator() col.separator()

@ -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_ui_text(prop, "Flip Normals", "Invert the face direction");
RNA_def_property_update(prop, 0, "rna_Modifier_update"); 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_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_ui_text(prop, "Only Rim", "Only add the rim to the original data");
RNA_def_property_update(prop, 0, "rna_Modifier_update"); RNA_def_property_update(prop, 0, "rna_Modifier_update");