Depsgraph: mesh cache depends needs updates when geometry changes (patch by Sergey Sharybin)

This commit is contained in:
Dalai Felinto 2017-01-26 19:06:17 +01:00
parent 4c43dddeb7
commit 9b7b9d6ae9
1 changed files with 8 additions and 0 deletions

View File

@ -1432,6 +1432,14 @@ void DepsgraphRelationBuilder::build_obdata_geom(Main *bmain, Scene *scene, Obje
"Object Shading");
}
}
OperationKey obdata_geom_done_key(obdata,
DEPSNODE_TYPE_GEOMETRY,
DEG_OPCODE_PLACEHOLDER,
"Eval Done");
add_relation(geom_key,
object_shading_key,
DEPSREL_TYPE_UPDATE,
"Object Shading");
}
/* geometry collision */