I think i need to add another update flag NTREE_CHANGED_ENUM
to keep track of which nodes are actually affected by enum changes. RNA would also set this more specifically, instead of the generic…
Seems like it's working now. haven't been able to repro the issue. Thanks!
If any enum changes are included in the interface_changed
flag then we may not need to distinguish these two cases after all. It would mean the interface gets fully updated and the modifier is…
I still need to implement better right-to-left propagation within the node for this to work. If the menu switch is set to "Menu" socket type the output is a menu. Initially this output is an empty…
I made two separate update functions out of MOD_nodes_update_interface
now, let me know if that looks ok: b0e76d531742c5d348babb0d968ab62950a442c3
IIRC i added this because the modifier ID properties need to be updated when the enum definition changes, which is not covered by the interface_changed
flag. So the MOD_nodes_update_interface
…
There should not be an attribute switch for the enum property in the modifier, even when the enum is a field. That's be cause we don't support enum attributes.
I've added a special case to…