From acdb14d264c8b4eced645673f8ae8af1a96b1a90 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 22 Aug 2019 13:45:31 +1000 Subject: Transform: option to transform origins in object mode Currently supports mesh, armature, lattice, curve & metaballs. Access from pivot popover. --- source/blender/makesrna/intern/rna_scene.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna') diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 208bcaab007..7d9a3cf06b8 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -2935,8 +2935,12 @@ static void rna_def_tool_settings(BlenderRNA *brna) prop = RNA_def_property(srna, "use_transform_pivot_point_align", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "transform_flag", SCE_XFORM_AXIS_ALIGN); RNA_def_property_ui_text( - prop, "Only Origins", "Manipulate origins (object, pose and weight paint mode only)"); - RNA_def_property_ui_icon(prop, ICON_CENTER_ONLY, 0); + prop, "Only Locations", "Manipulate origins (object, pose and weight paint mode only)"); + RNA_def_property_update(prop, NC_SCENE, 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); prop = RNA_def_property(srna, "use_mesh_automerge", PROP_BOOLEAN, PROP_NONE); -- cgit v1.2.3