[Bf-blender-cvs] [f320d0e0a86] master: Fix T52840: New Depsgraph - Mask editor not working correctly
Sergey Sharybin
noreply at git.blender.org
Fri Sep 22 10:23:45 CEST 2017
Commit: f320d0e0a86207983ca4f7e7afb4fa7a140acf99
Author: Sergey Sharybin
Date: Fri Sep 22 13:23:21 2017 +0500
Branches: master
https://developer.blender.org/rBf320d0e0a86207983ca4f7e7afb4fa7a140acf99
Fix T52840: New Depsgraph - Mask editor not working correctly
===================================================================
M source/blender/blenkernel/intern/mask.c
===================================================================
diff --git a/source/blender/blenkernel/intern/mask.c b/source/blender/blenkernel/intern/mask.c
index aa8cfe1d36d..8b8b48db279 100644
--- a/source/blender/blenkernel/intern/mask.c
+++ b/source/blender/blenkernel/intern/mask.c
@@ -51,6 +51,7 @@
#include "BKE_animsys.h"
#include "BKE_curve.h"
+#include "BKE_depsgraph.h"
#include "BKE_global.h"
#include "BKE_library.h"
#include "BKE_main.h"
@@ -817,6 +818,8 @@ Mask *BKE_mask_new(Main *bmain, const char *name)
mask->sfra = 1;
mask->efra = 100;
+ DAG_relations_tag_update(bmain);
+
return mask;
}
More information about the Bf-blender-cvs
mailing list