Core: Add ObjectRuntime::last_update transform, geometry and shading #115196

Merged
Miguel Pozo merged 8 commits from pragma37/blender:pull-recalc-last_updated into main 2023-11-27 12:03:27 +01:00
1 changed files with 3 additions and 5 deletions
Showing only changes of commit cd7b7ec31c - Show all commits

View File

@ -1664,11 +1664,9 @@ void DepsgraphNodeBuilder::build_object_data_geometry(Object *object)
NodeType::BATCH_CACHE,
OperationCode::GEOMETRY_SELECT_UPDATE,
[object_cow](::Depsgraph *depsgraph) { BKE_object_select_update(depsgraph, object_cow); });
/* Shading (No-Op). */
add_operation_node((ID *)object->data,
NodeType::SHADING,
OperationCode::SHADING,
[](::Depsgraph *depsgraph) { /* No-op. */ });
/* Shading (No-Op).
* Needed to allow the Material shading updates reach the Object. */
add_operation_node((ID *)object->data, NodeType::SHADING, OperationCode::SHADING);
}
void DepsgraphNodeBuilder::build_object_data_geometry_datablock(ID *obdata)