Wilson E. Alvarez
54605dbffa
Migrate to Tree::set_custom_draw_callback.
...
Due to upstream change:
a32a2eaedc
2024-04-23 12:53:03 -04:00
Wilson E. Alvarez
004d456983
Fix upstream EditorScale header locations
...
Due to upstream change:
4b55c81eba
2024-04-23 12:53:03 -04:00
Serhii Snitsaruk
7f89659110
Support multiple debugger sessions
2024-04-21 13:04:16 +02:00
Serhii Snitsaruk
12fd9d00d6
Update file headers and fix whitespace
2024-03-21 21:38:57 +01:00
Serhii Snitsaruk
79d72c39e0
Use proper icon in inspector for BB vars
2024-03-20 17:42:04 +01:00
Serhii Snitsaruk
5a8fe97aac
Fix error when clicking resource header in debugger with a scene-embedded BT
2024-03-20 14:19:49 +01:00
Serhii Snitsaruk
39c4511249
BBParam editor: Combine type+mode functionality in one button
...
Previously, we had two buttons: "mode switch" and "type choice".
Now replaced with the One Button to rule them all!
2024-03-12 18:10:53 +01:00
Serhii Snitsaruk
b09006a11b
Fix issues with blackboard plan system
2024-03-11 18:58:40 +01:00
Serhii Snitsaruk
b90b85f0c3
Merge pull request #68 from Rubonnek/fix-btview-update-crash
...
Fix `BehaviorTreeView::update_tree` null data crash
2024-03-07 20:32:58 +01:00
Wilson E. Alvarez
dd837ff472
Fix BehaviorTreeView::update_tree null data crash
2024-03-07 11:50:34 -05:00
Wilson E. Alvarez
3f34e4dde2
Expose BehaviorTreeView::clear to GDScript
2024-03-07 11:39:53 -05:00
Serhii Snitsaruk
2658060b1c
Move prefetching code into `BlackboardPlan` and add checkbox to the plan editor
2024-03-06 21:28:06 +01:00
Serhii Snitsaruk
4c26583007
Remove "p_" from the argument names in the `ClassDB` bindings
2024-03-04 21:36:16 +01:00
Serhii Snitsaruk
bea25049a0
Update plan editor utilizing `StringName`
2024-03-04 18:06:59 +01:00
Serhii Snitsaruk
84aeb4bfff
Adjust BB variable property editor to expect `StringName`
2024-03-04 15:09:15 +01:00
Dave Palais
73aa636271
Change some includes to use relative paths
...
The paths before assumed we were inside the Godot modules folder.
This change enables building as an external module.
2024-03-02 18:10:00 -05:00
Serhii Snitsaruk
7626c84633
New `task_selected` signal for BehaviorTreeView
2024-02-29 23:42:24 +01:00
Serhii Snitsaruk
78c61d459d
Merge pull request #42 from limbonaut/debugger-improvements
...
Debugger improvements
2024-02-17 15:35:09 +01:00
Serhii Snitsaruk
b3380bd0ac
Fix missing break in a switch
2024-02-17 15:15:20 +01:00
Serhii Snitsaruk
ecf44e83e0
Debugger: Add update interval controls and keep it in the config
...
Also fix bug with partial update.
2024-02-17 14:56:19 +01:00
Serhii Snitsaruk
b9cd31eb2b
Debugger: Add BehaviorTreeView::update_interval_msec property
2024-02-17 13:40:53 +01:00
Serhii Snitsaruk
0ea8b9932c
Debugger: Implement selective tree update in BehaviorTreeView
...
Flame graph showed performance bottleneck with recreating and redrawing the whole tree each frame.
This commit should improve debugger performance by a good margin.
2024-02-17 11:43:31 +01:00
Wilson E. Alvarez
1711cb6b87
Fix crash upon increasing TypedArray<BBVariant> size
...
Needed after upstream patch:
db7175458a
2024-02-16 10:46:42 -05:00
Serhii Snitsaruk
654eda1c65
Better error handling when resolving _generate_name
2024-02-10 15:05:50 +01:00
Serhii Snitsaruk
d38e6f97f1
Editor: Implement Cut-Copy-Paste
...
Resolves #14
2024-02-08 17:16:26 +01:00
Serhii Snitsaruk
6405f9031b
Fix shortcuts not working in the module version
...
Resolves #27
2024-02-07 12:36:59 +01:00
Serhii Snitsaruk
16840057a1
Editor: More space and align to right for BehaviorTreeView timings
2024-02-06 15:44:25 +01:00
Serhii Snitsaruk
a353e561de
Editor: More space for timings in BehaviorTreeView
2024-02-06 14:54:18 +01:00
Serhii Snitsaruk
d0c7d98fc4
Editor: Clip content in BehaviorTreeView
2024-02-04 16:23:15 +01:00
Serhii Snitsaruk
8dc645c9a7
Fix issues and update docs for BehaviorTreeData/View
2024-02-03 17:53:12 +01:00
Serhii Snitsaruk
c5b92aa676
Expose BehaviorTreeView for tools and in-game use
2024-02-03 16:59:51 +01:00
Serhii Snitsaruk
3e32051791
Editor: Remember collapsed items in task tree
2024-02-02 16:46:26 +01:00
Serhii Snitsaruk
b4ab521e0f
Editor: Improve tooltips in the property editors
2024-01-29 10:26:13 +01:00
Serhii Snitsaruk
ee0795269d
Editor: Fix issues with property editors & remove old docs
2024-01-29 10:16:24 +01:00
Serhii Snitsaruk
656bc169b0
Editor: Scroll to focus when adding a var in Blackboard Plan editor
2024-01-28 22:25:31 +01:00
Serhii Snitsaruk
c44648c69c
Fix nullptr crash
2024-01-28 22:00:47 +01:00
Serhii Snitsaruk
011040e46f
Editor: Distinguish private variables in the inspector
2024-01-28 21:58:18 +01:00
Serhii Snitsaruk
87a1687c74
BlackboardPlanEditor: Focus on added var and autofill name
2024-01-28 21:03:22 +01:00
Serhii Snitsaruk
174810fb34
Editor: Validate var name in BlackboardPlanEditor
2024-01-28 20:15:42 +01:00
Serhii Snitsaruk
7ac1bc2dec
Use variable property editor within the param property editor
2024-01-28 19:24:59 +01:00
Serhii Snitsaruk
73f51f23ef
Implement BB variable property editor
2024-01-28 17:49:38 +01:00
Serhii Snitsaruk
a6717ec76d
Editor: Show only relevant hints for the chosen variant type in the Blackboard Plan editor
2024-01-26 16:47:45 +01:00
Serhii Snitsaruk
761b211740
Editor: Mark behavior tree as dirty when blackboard plan changes
2024-01-26 16:47:26 +01:00
Serhii Snitsaruk
f912f0acc4
Usability improvements
2024-01-25 22:58:21 +01:00
Serhii Snitsaruk
5fee89b00b
Make blackboard improvements compatible with GDExtension
2024-01-25 19:46:27 +01:00
Serhii Snitsaruk
8155c2764a
Refactoring and clean up
2024-01-25 14:35:48 +01:00
Serhii Snitsaruk
06052332b2
BlackboardPlanEditor: Fixes and clean up
2024-01-25 11:08:35 +01:00
Serhii Snitsaruk
15e0323919
Implement BlackboardPlan editor
2024-01-24 23:11:09 +01:00
Serhii Snitsaruk
390d4a9385
New and improved workaround for the missing ClassDB::add_virtual_method
2024-01-17 22:46:48 +01:00
Serhii Snitsaruk
c5be3a725f
Editor: Links to "Creating custom tasks" doc page in the editor
2024-01-17 15:51:24 +01:00