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:
authorNathan Craddock <nzcraddock@gmail.com>2020-09-20 01:27:56 +0300
committerNathan Craddock <nzcraddock@gmail.com>2020-09-20 01:33:45 +0300
commit94a63f75055024dbf0c9f9236b3cda5438fa2162 (patch)
tree3cca2bdf9c662dbc074d5a50595a8a00ff1e4e30 /source/blender/editors/space_outliner/outliner_dragdrop.c
parent4115229637c0acdcffbaceae282ccd854bfdb1c8 (diff)
Fix T80945: Build modifier not updating after outliner copy
Build modifiers linked or copied to objects from the outliner would not animate until the file was saved and reopened due to a missing depsgraph relations tag.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_dragdrop.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_dragdrop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_dragdrop.c b/source/blender/editors/space_outliner/outliner_dragdrop.c
index 58f6f82c80d..302d606e4c8 100644
--- a/source/blender/editors/space_outliner/outliner_dragdrop.c
+++ b/source/blender/editors/space_outliner/outliner_dragdrop.c
@@ -964,7 +964,7 @@ static void datastack_drop_copy(bContext *C, StackDropData *drop_data)
}
else if (drop_data->ob_parent->type != OB_GPENCIL && ob_dst->type != OB_GPENCIL) {
ED_object_modifier_copy_to_object(
- ob_dst, drop_data->ob_parent, drop_data->drag_directdata);
+ C, ob_dst, drop_data->ob_parent, drop_data->drag_directdata);
}
break;
case TSE_CONSTRAINT: