Local Blackboard is not being used. Fix included ?

Forums 💬 NodeCanvas ⚙️ Support Local Blackboard is not being used. Fix included ?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16935
    erwan
    Participant

      Hi everyone,
      I am in the specific case where I want my behaviour tree to use the local black board (I am not using any component)
      And the problem is that when the code says : “let’s use the local black board !” et actually sets it to null one line later.

      In Graph.cs :

      Shouldn’t the line 630 read :

      Overwise the blackboard is set to null again because of the call to “UpdateReferences(…)”

      Merci !

      #16938
      Gavalakis
      Keymaster

        Hello,

        Yes, you are right 🙂 This is a bug introduced from a refactoring, and the fix is exactly what you suggest here:
        blackboard = localBlackboard;

        Thank you for letting me know!

        #16937
        erwan
        Participant

          You are welcome,
          It’s good to know I’ll be able to discard the fix on the next update.
          And bravo to open source code !

          #16936
          Gavalakis
          Keymaster

            Thank you! 🙂

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