diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-07-09 02:52:41 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-07-09 03:00:28 +0300 |
commit | 1b45c52734a8320322c120c7580080e6fbbc4da6 (patch) | |
tree | 444c95dfa2c2021b96cef60e6c20b13cc0e1f246 /release/scripts | |
parent | 245f97d7dc60f64256620383ac71c84146910300 (diff) |
Fix: Apply Scale to Delta Scale was doubling the effect
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_operators/object.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py index 3658782ece1..6356da216b1 100644 --- a/release/scripts/startup/bl_operators/object.py +++ b/release/scripts/startup/bl_operators/object.py @@ -762,7 +762,10 @@ class TransformsToDeltas(Operator): obj.rotation_euler.zero() def transfer_scale(self, obj): - obj.delta_scale += obj.scale + obj.delta_scale[0] *= obj.scale[0] + obj.delta_scale[1] *= obj.scale[1] + obj.delta_scale[2] *= obj.scale[2] + if self.reset_values: obj.scale[:] = (1, 1, 1) |