Fix T89929: Crash when hiding in the render a previously keyframed volume

Regression introduced in {rBbfa3dc91b754}.

`ID_RECALC_GEOMETRY` should tag all operations of the `GEOMETRY`
component and not just the operation of node `GEOMETRY_EVAL_INIT`.
This commit is contained in:
Germano Cavalcante
2021-07-18 15:06:48 -03:00
parent e7a800c52f
commit 4ed029fc02

View File

@@ -168,7 +168,6 @@ void depsgraph_tag_to_component_opcode(const ID *id,
break;
case ID_RECALC_GEOMETRY:
depsgraph_geometry_tag_to_component(id, component_type);
*operation_code = OperationCode::GEOMETRY_EVAL_INIT;
break;
case ID_RECALC_GEOMETRY_DEFORM:
depsgraph_geometry_tag_to_component(id, component_type);