Reply To: Weird behaviour with nodes relation

Forums 💬 NodeCanvas ⚙️ Support Weird behaviour with nodes relation Reply To: Weird behaviour with nodes relation

#17247
Gavalakis
Keymaster

    Hello,

    BehaviourTree nodes are automatically re-ordered in relation to their parent based on their position from left to right, since execution is also happening from left to right.

    With that said though, there should be no case where this automatic re-ordering happens only after moving a node, but it should always be the case. As such, I’ve searched a bit within the code and found a bug which does *not* trigger the automatic re-ordering when a new connection is made like when it should. Like this:
    [attachment file=”ReOrder_BUG.gif”]

    What should happen, is this (and as such always be in correct order not only when move node and avoid confusion):
    [attachment file=”ReOrder_FIX.gif”]

    I have just fixed this bug. If you want I can send the fix to you. If so, please drop me and email to support_AT_paradoxnotion.com and I will send you the fixed package.

    Thanks for letting me know!