fian46 / addons-btree

Visual Behavior Tree
MIT License
115 stars 19 forks source link

Allow renaming of nodes in editor #60

Closed RcubDev closed 3 years ago

RcubDev commented 3 years ago

I have refactored quite a bit in this pull request. If you would like me to keep it separate and in my fork that is fine! This PR allows a user to rename their nodes how they would like similar to #51 but doing what they did didn't seem to play well with the editor. Also added undo and redo functionality with the BTree editor and renaming nodes. Refactored most of the editor nodes to inherit from a base class so it is easier to do changes to all of them (a lot of code was duplicated between each ui node). It persists through relaunches and shows in the debugger as well. If you have any questions let me know!

zZbiQjIl2T

I had done a PR for this previously but closed it since it wasn't completely finished. I've been using these changes in my main project and have had no issues so far. Thanks!

RcubDev commented 3 years ago

We can probably close #51 with this PR as well 😊