You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
rhys-vdw
changed the title
Calling AddExposedParameter in BaseGraph.OnEnable causes all ports to disappear.
Calling AddExposedParameter in BaseGraph.OnEnable causes all ports and edges to disappear.
May 13, 2022
Okay, I think I've worked it out. If I explicitly override GetValueType() in my exposed parameter subclass then the error goes away. Given this I would suggest that the base method should be abstract instead of virtual (or just fix the bug whatever is causing it).
I'm trying to create a system where I can ensure that certain graph types always expose the correct properties.
My base node with helper:
Example graph:
New graph created with correct exposed parameters:
Adding some nodes:
Close and reopen graph editor:
Possibly related to #155
The text was updated successfully, but these errors were encountered: