Merge branch 'master' into blender2.8
This commit is contained in:
commit
ec3d25803e
|
@ -1464,7 +1464,7 @@ void BKE_mask_update_scene(Main *bmain, Scene *scene)
|
|||
Mask *mask;
|
||||
|
||||
for (mask = bmain->mask.first; mask; mask = mask->id.next) {
|
||||
if (mask->id.tag & (LIB_TAG_ID_RECALC | LIB_TAG_ID_RECALC_DATA)) {
|
||||
if (mask->id.tag & LIB_TAG_ID_RECALC_ALL) {
|
||||
bool do_new_frame = (mask->id.tag & LIB_TAG_ID_RECALC_DATA) != 0;
|
||||
BKE_mask_evaluate_all_masks(bmain, CFRA, do_new_frame);
|
||||
}
|
||||
|
|
|
@ -3217,7 +3217,7 @@ static void direct_link_nodetree(FileData *fd, bNodeTree *ntree)
|
|||
ntree->adt = newdataadr(fd, ntree->adt);
|
||||
direct_link_animdata(fd, ntree->adt);
|
||||
|
||||
ntree->id.tag &= ~(LIB_TAG_ID_RECALC|LIB_TAG_ID_RECALC_DATA);
|
||||
ntree->id.tag &= ~LIB_TAG_ID_RECALC_ALL;
|
||||
|
||||
link_list(fd, &ntree->nodes);
|
||||
for (node = ntree->nodes.first; node; node = node->next) {
|
||||
|
|
|
@ -601,12 +601,12 @@ void DEG_ids_clear_recalc(Main *bmain)
|
|||
|
||||
if (id && bmain->id_tag_update[BKE_idcode_to_index(GS(id->name))]) {
|
||||
for (; id; id = (ID *)id->next) {
|
||||
id->tag &= ~(LIB_TAG_ID_RECALC | LIB_TAG_ID_RECALC_DATA);
|
||||
id->tag &= ~LIB_TAG_ID_RECALC_ALL;
|
||||
|
||||
/* Some ID's contain semi-datablock nodetree */
|
||||
ntree = ntreeFromID(id);
|
||||
if (ntree != NULL) {
|
||||
ntree->id.tag &= ~(LIB_TAG_ID_RECALC | LIB_TAG_ID_RECALC_DATA);
|
||||
ntree->id.tag &= ~LIB_TAG_ID_RECALC_ALL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue