diff options
Diffstat (limited to 'source/blender/blenkernel/intern/constraint.c')
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index 317973cc0c1..58011c8d753 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -3753,6 +3753,11 @@ static void transform_new_data(void *cdata) data->map[0] = 0; data->map[1] = 1; data->map[2] = 2; + + for (int i = 0; i < 3; i++) { + data->from_min_scale[i] = data->from_max_scale[i] = 1.0f; + data->to_min_scale[i] = data->to_max_scale[i] = 1.0f; + } } static void transform_id_looper(bConstraint *con, ConstraintIDFunc func, void *userdata) |