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
Notes: blender-bot 2023-02-13 18:09:16 +01:00
Referenced by issue #89955, Blender crashing in Edit mode.
Referenced by issue #89929, Blender will crash when hiding a volume object rendered mode if it was previously keyframed
1 changed files with 0 additions and 1 deletions

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);