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/transform/transform_ops.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/transform/transform_ops.c')
-rw-r--r-- | source/blender/editors/transform/transform_ops.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c index cbe58ddf586..2a97384cf7d 100644 --- a/source/blender/editors/transform/transform_ops.c +++ b/source/blender/editors/transform/transform_ops.c @@ -569,6 +569,9 @@ void Transform_Properties(struct wmOperatorType *ot, int flags) // Add confirm method all the time. At the end because it's not really that important and should be hidden only in log, not in keymap edit /*prop =*/ RNA_def_boolean(ot->srna, "release_confirm", 0, "Confirm on Release", "Always confirm operation when releasing button"); //RNA_def_property_flag(prop, PROP_HIDDEN); + + prop = RNA_def_boolean(ot->srna, "use_accurate", 0, "Accurate", "Use accurate transformation"); + RNA_def_property_flag(prop, PROP_HIDDEN); } } |