Fix: Simplify "Volume Resolution" not updating for non volume objects #117848

Merged
Philipp Oeser merged 3 commits from lichtwerk/blender:117747_simplify_volume_resolution_update into main 2024-02-07 10:32:15 +01:00

3 Commits

Author SHA1 Message Date
Philipp Oeser 4a0d8788b5 dont insist on fully evaluated depsgraph 2024-02-07 09:50:52 +01:00
Philipp Oeser 0612d59b03 Merge branch 'main' into 117747_simplify_volume_resolution_update 2024-02-07 09:29:04 +01:00
Philipp Oeser 95ee1a46d7 Fix: Simplify "Volume Resolution" not updating for non volume objects
This came up in #117747.

Unless an object was of OB_VOLUME type, the setting was not updating the
viewport accordingly since the introduction in 365bf103d1. So if for
example a mesh has a "Mesh to Volume" node, the update did not take
place.

If we use context, we can check the evaluated GeometrySet on any object
type with a geometry nodes modifier though and if it has a volume, we
can also tag for update.
2024-02-05 14:34:13 +01:00