Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-03-02 14:18:07 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-03-02 14:18:07 +0300
commit87f8bb8d1d3692845b92545a4cbe5c1b5c03ec36 (patch)
tree20aebd392e3d9644fe37766ae0475d1b9df478c7 /source/blender/editors/space_view3d/view3d_edit.c
parent499faa8b1135d519675dde841f14333892a4d391 (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.c5
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))