diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-02 14:18:07 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-03-02 14:18:07 +0300 |
commit | 87f8bb8d1d3692845b92545a4cbe5c1b5c03ec36 (patch) | |
tree | 20aebd392e3d9644fe37766ae0475d1b9df478c7 /source/blender/editors/space_view3d/view3d_edit.c | |
parent | 499faa8b1135d519675dde841f14333892a4d391 (diff) |
Fix another part of T50565: Planar constraints were always initialized to accurate transform
Now it is defined by keymap.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_edit.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_edit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index df649a59f08..04670f5a843 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -4798,7 +4798,10 @@ void VIEW3D_OT_manipulator(wmOperatorType *ot) prop = RNA_def_boolean(ot->srna, "use_planar_constraint", false, "Planar Constraint", "Limit the transformation to the " "two axes that have not been clicked (translate/scale only)"); - RNA_def_property_flag(prop, PROP_SKIP_SAVE); + RNA_def_property_flag(prop, PROP_SKIP_SAVE | PROP_HIDDEN); + + prop = RNA_def_boolean(ot->srna, "use_accurate", false, "Accurate", "Use accurate transformation"); + RNA_def_property_flag(prop, PROP_SKIP_SAVE | PROP_HIDDEN); } static int enable_manipulator_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event)) |