Fix T52840: New Depsgraph - Mask editor not working correctly

This commit is contained in:
Sergey Sharybin 2017-09-22 13:23:21 +05:00
parent b3b3c6d8ae
commit f320d0e0a8
Notes: blender-bot 2023-02-14 06:32:29 +01:00
Referenced by issue #53683, 2.79a release
Referenced by issue #52840, New Depsgraph - Mask editor not working correctly
1 changed files with 3 additions and 0 deletions

View 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;
}