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:
authorArystanbek Dyussenov <arystan.d@gmail.com>2009-06-26 16:33:07 +0400
committerArystanbek Dyussenov <arystan.d@gmail.com>2009-06-26 16:33:07 +0400
commitacb590e4b065505117a78786e2627c43e65c499a (patch)
tree293aae57b7a7e38052828a1e71a6bf087167928b /source/blender/makesrna/intern/rna_mesh.c
parent18e7ec8463930947cfa9d76e7385be0b81482627 (diff)
* OBJ exporter almost converted
* added MeshEdge.loose property * changed mask used in Object.create_*_mesh to CD_MASK_MESH.
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh.c')
-rw-r--r--source/blender/makesrna/intern/rna_mesh.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c
index 3127c352f60..4b4c9b97871 100644
--- a/source/blender/makesrna/intern/rna_mesh.c
+++ b/source/blender/makesrna/intern/rna_mesh.c
@@ -736,6 +736,11 @@ static void rna_def_medge(BlenderRNA *brna)
prop= RNA_def_property(srna, "sharp", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", ME_SHARP);
RNA_def_property_ui_text(prop, "Sharp", "Sharp edge for the EdgeSplit modifier");
+
+ prop= RNA_def_property(srna, "loose", PROP_BOOLEAN, PROP_NONE);
+ RNA_def_property_boolean_sdna(prop, NULL, "flag", ME_LOOSEEDGE);
+ RNA_def_property_clear_flag(prop, PROP_EDITABLE);
+ RNA_def_property_ui_text(prop, "Loose", "Loose edge");
}
static void rna_def_mface(BlenderRNA *brna)