Depsgraph: Fix missing ID node tag

Might have caused nodes created multiple times for the same object.
This commit is contained in:
Sergey Sharybin 2016-11-11 14:25:26 +01:00
parent a45d648485
commit 9d2a7961fc
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@ void DepsgraphNodeBuilder::build_object(Scene *scene, Base *base, Object *ob)
id_node->layers |= base->lay;
return;
}
ob->id.tag |= LIB_TAG_DOIT;
IDDepsNode *id_node = add_id_node(&ob->id);
id_node->layers |= base->lay;