diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-28 18:45:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-28 18:53:07 +0300 |
commit | 69a966aca0c147ef21eeee986cc73554bfe5e948 (patch) | |
tree | 41b0653e05767cadf8e50500fba5c7b6d585fae4 /source/blender/makesrna | |
parent | 01bd22929fdb2c7ec0f564faee46c0ad84d11687 (diff) |
Transform: option to transform parent objects without children
Supports parent/child chains with mixed selections.
Currently accessible from the pivot popover
(may be moved along with the other options here).
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 67c82484864..b4f545e3c5e 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -2943,6 +2943,11 @@ static void rna_def_tool_settings(BlenderRNA *brna) RNA_def_property_ui_text(prop, "Data Origins", "Manipulate object data"); RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); + prop = RNA_def_property(srna, "use_transform_skip_children", PROP_BOOLEAN, PROP_NONE); + RNA_def_property_boolean_sdna(prop, NULL, "transform_flag", SCE_XFORM_SKIP_CHILDREN); + RNA_def_property_ui_text(prop, "Skip Children", "Don't transform children"); + RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); + prop = RNA_def_property(srna, "use_mesh_automerge", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "automerge", AUTO_MERGE); RNA_def_property_ui_text( |