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

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16818
    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”

      #16819
      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!

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