Depsgraph: Fix missing DONE flag in relations builder

Was causing relations be build twice in certain cases.
This commit is contained in:
Sergey Sharybin 2016-11-11 15:20:17 +01:00
parent c0c6af2cdd
commit d3963e2bb0
1 changed files with 1 additions and 0 deletions

View File

@ -450,6 +450,7 @@ void DepsgraphRelationBuilder::build_object(Main *bmain, Scene *scene, Object *o
if (ob->id.tag & LIB_TAG_DOIT) {
return;
}
ob->id.tag |= LIB_TAG_DOIT;
/* Object Transforms */
eDepsOperation_Code base_op = (ob->parent) ? DEG_OPCODE_TRANSFORM_PARENT : DEG_OPCODE_TRANSFORM_LOCAL;