Page MenuHome

Fix T85558: crash changing the resolution mode of the "volume to mesh" node
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Feb 12 2021, 1:40 PM.

Details

Summary

The nodes update function geo_node_volume_to_mesh_update would not run
if it is not the very first node in the tree.
If the update function is not run, there are sockets not cleared from
the SOCK_UNAVAIL flag (but this needs to be done -- these get available
depending on the chosen mode).

Havent tracked down why this was actually updating when it was the first
node in the tree, but now make sure we always get an update by specifing
an appropriate RNA update callback for the property.

Diff Detail

Repository
rB Blender

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Feb 12 2021, 1:40 PM
Philipp Oeser (lichtwerk) created this revision.

Thanks! I'd guess that this got probably lost in a merge conflict (git doesn't like it when all functions end exactly the same :D)

This revision is now accepted and ready to land.Feb 12 2021, 1:48 PM