diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-10-18 19:54:18 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-11-06 15:36:05 +0300 |
commit | 7728bfd4c45c634ba6b62e149176425ec5779945 (patch) | |
tree | b4f10c71458572e87f4ca14e33e0754aef2661b6 /source/blender/blenkernel/BKE_constraint.h | |
parent | e3f1f5bd006a206f81aa9bb20e833e8fc0d9728a (diff) |
Constraints: remove special meaning of Local Space for parentless Objects.
In 2011 special handling was introduced, apparently for no other
reason than to address a complaint in T25707 that World and Local
space are equivalent for objects without parent. This causes issues
and confusion, as mentioned in rB599c8a2c8e4.
This special meaning of Local Space is not documented in the manual,
and is not known to experienced riggers, so removing it should not
be a problem.
Differential Revision: https://developer.blender.org/D6095
Diffstat (limited to 'source/blender/blenkernel/BKE_constraint.h')
-rw-r--r-- | source/blender/blenkernel/BKE_constraint.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/source/blender/blenkernel/BKE_constraint.h b/source/blender/blenkernel/BKE_constraint.h index 8fe3bd77a26..73bd36844ac 100644 --- a/source/blender/blenkernel/BKE_constraint.h +++ b/source/blender/blenkernel/BKE_constraint.h @@ -191,12 +191,8 @@ struct bConstraintOb *BKE_constraints_make_evalob(struct Depsgraph *depsgraph, short datatype); void BKE_constraints_clear_evalob(struct bConstraintOb *cob); -void BKE_constraint_mat_convertspace(struct Object *ob, - struct bPoseChannel *pchan, - float mat[4][4], - short from, - short to, - const bool keep_scale); +void BKE_constraint_mat_convertspace( + struct Object *ob, struct bPoseChannel *pchan, float mat[4][4], short from, short to); void BKE_constraint_target_matrix_get(struct Depsgraph *depsgraph, struct Scene *scene, |