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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-29 00:18:47 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-05-29 00:24:16 +0300
commit359469a39a49dd2efe3e9b94a3d03600e32cd887 (patch)
tree3537bd97668b35402f1fe39b14ae89a5673dd266 /source/blender/blenkernel
parent9b1a15d8f8ec99f9101e118f3f955983c9dccaaf (diff)
Fix T55204: proxy object disappearing randomly.
The problem was a missing depsgraph relation between the transforms of the object and its proxy, it was only there for the pose.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r--source/blender/blenkernel/intern/object_update.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c
index 2d499e4684e..d21a1326392 100644
--- a/source/blender/blenkernel/intern/object_update.c
+++ b/source/blender/blenkernel/intern/object_update.c
@@ -276,11 +276,12 @@ void BKE_object_handle_data_update(
/* quick cache removed */
}
-bool BKE_object_eval_proxy_copy(Depsgraph *UNUSED(depsgraph),
+bool BKE_object_eval_proxy_copy(Depsgraph *depsgraph,
Object *object)
{
/* Handle proxy copy for target, */
if (ID_IS_LINKED(object) && object->proxy_from) {
+ DEG_debug_print_eval(depsgraph, __func__, object->id.name, object);
if (object->proxy_from->proxy_group) {
/* Transform proxy into group space. */
Object *obg = object->proxy_from->proxy_group;