diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-08-26 18:30:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-08-26 18:46:03 +0300 |
commit | 7fee153bf5e3268ce6627154e62ca5d867cecdb6 (patch) | |
tree | 34fbaa3f498c9042c521dfd7a04b446c1a4b21b4 /source/blender/makesrna | |
parent | 487cd7237c9d208cd2b9fa11f49a83ba46a97399 (diff) |
3D View: show selected object axis when affect origins is enabled
This replaces temporarily enabling draw-axis.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 7d9a3cf06b8..939572923ac 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -2936,12 +2936,12 @@ static void rna_def_tool_settings(BlenderRNA *brna) RNA_def_property_boolean_sdna(prop, NULL, "transform_flag", SCE_XFORM_AXIS_ALIGN); RNA_def_property_ui_text( prop, "Only Locations", "Manipulate origins (object, pose and weight paint mode only)"); - RNA_def_property_update(prop, NC_SCENE, NULL); + RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL); prop = RNA_def_property(srna, "use_transform_data_origin", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "transform_flag", SCE_XFORM_DATA_ORIGIN); RNA_def_property_ui_text(prop, "Data Origins", "Manipulate object data"); - RNA_def_property_update(prop, NC_SCENE, NULL); + 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", 0); |