Depsgraph: mesh cache depends needs updates when geometry changes (patch by Sergey Sharybin)
This commit is contained in:
parent
4c43dddeb7
commit
9b7b9d6ae9
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue