Bug: Cannot set nullable class back to null after using "(null) Create" button.

FlowCanvas Forums Support Bug: Cannot set nullable class back to null after using "(null) Create" button.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2388
    guyboots_thunderbro
    Participant

    If I have a custom node that has a nullable value input, like this:

    and I select the node and click “(null) Create” inside the node inspector, it will make an instance of that class that I can then populate inline, which is great!

    However, now I have two issues:

    • I cannot set the parameter back to null.
    • Since the input port for “a” never read “NULL” as its type hint, and doesn’t read anything now that it has a concrete instance, I can’t tell at a glance that the status of port “a” is without clicking on the node and checking the inspector.
    #2390
    Gavalakis
    Keymaster

    Hello again,

    I just made the changes so that classes display “NULL” tip when they are null and also display their .ToString() if it is overriden (and it returns anything other than the type name which is the default).

    I will need to also take a look at adding the ability to turn the parameter back to null somewhere in the GUI (probably right click on the parameter name? )

     

    Thanks!

    Join us on Discord: https://discord.gg/97q2Rjh

    #2392
    guyboots_thunderbro
    Participant

    I just made the changes so that classes display “NULL” tip when they are null and also display their .ToString() if it is overriden (and it returns anything other than the type name which is the default).

    Hurray!

    I will need to also take a look at adding the ability to turn the parameter back to null somewhere in the GUI (probably right click on the parameter name? )

    That’s good for me. I don’t know how discoverable that is for everyone, though, but I don’t have any better suggestions either.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.