Fix T52840: New Depsgraph - Mask editor not working correctly
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 22 Sep 2017 08:23:21 +0000 (13:23 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 22 Sep 2017 08:23:21 +0000 (13:23 +0500)
source/blender/blenkernel/intern/mask.c

index aa8cfe1d36d57ec58b21ca33244b1eb3ecf11ab5..8b8b48db2796b7af13c8dcdaa545e33f49381160 100644 (file)
@@ -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;
 }