It's been a long time, but I decided to revisit this project and try to bring BadBehavior up to date with the latest T3D codebase.
I have a branch in the BadBehavior repository (3.10.1_merge) which contains BadBehavior integrated into T3D 3.10.1.
The behavior tree editor does not work when using the SDL backend as it appears that the popup-menu implementation when using SDL is bugged and does not handle nested submenus.
To get around this, the TORQUE_SDL option needs to be disabled in the CMake gui. T3D will then use the windows platform backend for gui stuff, and the popup menus will work as they should. Everything else seems to work as originally intended.
Unfortunately, this means no Linux compatability until the SDL problems are sorted.