From 7728bfd4c45c634ba6b62e149176425ec5779945 Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Fri, 18 Oct 2019 19:54:18 +0300 Subject: 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 --- source/blender/blenkernel/BKE_constraint.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'source/blender/blenkernel/BKE_constraint.h') 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, -- cgit v1.2.3