From 4c4aa65adbef3b119fbd1e3e5e8bb17bdef67718 Mon Sep 17 00:00:00 2001 From: Andrew Hale Date: Mon, 6 Aug 2018 11:37:49 +0200 Subject: PyAPI: Make skin modifier roots settable This make the root flag writable using the Python API, using the generic skin vertex flag setter function. Reviewed By: Campbell Barton Differential Revision: http://developer.blender.org/D3583 --- source/blender/makesrna/intern/rna_mesh.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_mesh.c') diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c index 0b8f90e1c68..0e0e869a340 100644 --- a/source/blender/makesrna/intern/rna_mesh.c +++ b/source/blender/makesrna/intern/rna_mesh.c @@ -3220,7 +3220,9 @@ static void rna_def_skin_vertices(BlenderRNA *brna, PropertyRNA *UNUSED(cprop)) prop = RNA_def_property(srna, "use_root", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", MVERT_SKIN_ROOT); - RNA_def_property_ui_text(prop, "Root", "Vertex is a root for rotation calculations and armature generation"); + RNA_def_property_ui_text(prop, "Root", + "Vertex is a root for rotation calculations and armature generation, " + "setting this flag does not clear other roots in the same mesh island"); RNA_def_property_update(prop, 0, "rna_Mesh_update_data"); prop = RNA_def_property(srna, "use_loose", PROP_BOOLEAN, PROP_NONE); -- cgit v1.2.3