Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2020-03-09 12:44:55 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-03-09 12:44:55 +0300
commitf881162f81e57d3959b5e3bd917fbf0d6a4146c4 (patch)
tree8ccb9a97958cd202d1d82d301cff424e3fca753c /source/blender/makesrna/intern/rna_object_api.c
parentbc6bbe5fac864ded3a00f4a50d5eb79f89b74c75 (diff)
Revert "Constraints: remove special meaning of Local Space for parentless Objects."
This reverts commit 7728bfd4c45c634ba6b62e149176425ec5779945. Although this brings back an inconsistency in the behaviour of constraints on objects and bones, people were relying on the old behaviour, and the new behaviour broke their files. It is still desired to remove this inconsistency, but it will happen more gradually.
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_object_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c
index cbeb8f17991..2afebf7e3f6 100644
--- a/source/blender/makesrna/intern/rna_object_api.c
+++ b/source/blender/makesrna/intern/rna_object_api.c
@@ -323,7 +323,7 @@ static void rna_Object_mat_convert_space(Object *ob,
}
}
- BKE_constraint_mat_convertspace(ob, pchan, (float(*)[4])mat_ret, from, to);
+ BKE_constraint_mat_convertspace(ob, pchan, (float(*)[4])mat_ret, from, to, false);
}
static void rna_Object_calc_matrix_camera(Object *ob,