Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-20 03:52:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-20 03:52:24 +0400
commit5716762c02b753e3d3320176d41e7c4f13359233 (patch)
treef4f1462478aebacfb73868a68472809ba9664019 /source/blender/makesrna
parent347b2571314bc1a8319cfa3daa5637aebae0fd7d (diff)
fix for changes in own recent commit:
selected linked in face mode was crashing. (needs bmesh operator flags) also some style edits, remove unused includes and change triangulate modifiers use_beauty to a flag.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_modifier.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 53d145072d3..a9a1d81077b 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -3375,10 +3375,9 @@ static void rna_def_modifier_triangulate(BlenderRNA *brna)
RNA_def_struct_ui_icon(srna, ICON_MOD_TRIANGULATE);
prop = RNA_def_property(srna, "use_beauty", PROP_BOOLEAN, PROP_NONE);
- RNA_def_property_boolean_sdna(prop, NULL, "beauty", 1);
+ RNA_def_property_boolean_sdna(prop, NULL, "flag", MOD_TRIANGULATE_BEAUTY);
RNA_def_property_ui_text(prop, "Beauty Subdivide", "Subdivide across shortest diagonal");
RNA_def_property_update(prop, 0, "rna_Modifier_update");
-
}
void RNA_def_modifier(BlenderRNA *brna)