Bug(?) in CheckField's visual condition display.

NodeCanvas Forums Support Bug(?) in CheckField's visual condition display.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14232
    guyboots_thunderbro
    Participant

    When dealing with booleans, the Check Field condition renders like this in the canvas:

    “If BlackboardVariable.BooleanValue”

    regardless of whether you’re checking “BlackboardVariable.BooleanValue == true” or “BlackboardVariable.BooleanValue == false.”

    That’s because of this line:

    This makes it hard to tell at a glance whether you’re doing a “is true” or “is false” kind of check.

    Compare this to CheckVariable, which does this:

    Which results in this (always obvious) display on the GUI

    “If BlackboardParameter == True” or “If BlackboardParameter == False”

    #14254
    Gavalakis
    Keymaster

    Hello and sorry for the late reply due to Eastern!

    Hmm. I did this by design so that is “looks like” more similar to what is looking like in code when checking boolean variables, like for example:

    if (myVariable){ //... }

    But I can see that it can be confusing. I just removed the special case boolean check as to be more consistent with clear.

    Thanks!

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

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