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:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-10-25 15:18:21 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-10-25 15:20:20 +0300
commit50d30cc5fd7367618c90313fa55454f0b167c4b5 (patch)
tree152732af0ece4183457867b2bd24c2b2c2ae74d5 /source/blender/editors/space_clip
parentea5cf3ff7ae9a20fda9d26159a8ada6c2970aa48 (diff)
Depsgraph: Need to tag relations for update after new clip was added
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r--source/blender/editors/space_clip/clip_ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/clip_ops.c b/source/blender/editors/space_clip/clip_ops.c
index 970eae0ad14..7d8dd629562 100644
--- a/source/blender/editors/space_clip/clip_ops.c
+++ b/source/blender/editors/space_clip/clip_ops.c
@@ -56,6 +56,7 @@
#include "BKE_context.h"
#include "BKE_global.h"
+#include "BKE_depsgraph.h"
#include "BKE_report.h"
#include "BKE_library.h"
#include "BKE_main.h"
@@ -247,6 +248,7 @@ static int open_exec(bContext *C, wmOperator *op)
WM_event_add_notifier(C, NC_MOVIECLIP | NA_ADDED, clip);
+ DAG_relations_tag_update(bmain);
MEM_freeN(op->customdata);
return OPERATOR_FINISHED;