Alexander Montag
a31b8b7520
Follow up: Move BUTTON_SETICON to THEME_CHANGED
2024-09-28 17:31:20 +00:00
Alexander Montag
62460496e4
Address set_text in THEME_CHANGED, address inconsistency
2024-09-28 19:11:59 +02:00
Alexander Montag
cd85e6dd30
Initialize controls in constructor, bind emit callbacks without wrapper in TreeSearchPanel
2024-09-28 16:45:11 +00:00
Alexander Montag
3b73f24f33
Make TreeSearchMode member of TreeSearch
2024-09-28 17:58:42 +02:00
Alexander Montag
329e90dfc6
Rename TreeSearch::notify_item_edited
...
Also: Run clang-format. Remove comment.
2024-09-28 17:46:29 +02:00
Alexander Montag
84b2a60521
Adjust tooltips + misc-menu entry
2024-09-28 17:29:45 +02:00
Alexander Montag
cc8f099d82
Improve TreeSearch performance; part1
2024-09-28 12:08:27 +00:00
Alexander Montag
380f80c2b3
Fix Editor scaling for TreeSearch
2024-09-27 18:33:14 +02:00
Alexander Montag
ffe344d166
Make TreeSearch independent, remove unnecessary draw bind
2024-09-27 16:07:42 +00:00
Alexander Montag
9a1641e8ab
Move TreeSearch::update_tree in TaskTree from update_tree
...
Catches all cases where the tree is modified. Also those, where for example the tab is switched.
2024-09-27 15:24:14 +00:00
Alexander Montag
47706e9480
Make TreeSearch::search_panel private and fix nulltpr
2024-09-27 17:08:04 +02:00
Alexander Montag
0fc11bf05b
Make TreeSearch::_select_item consistent
2024-09-26 15:36:59 +00:00
Alexander Montag
af15dde4c8
Simplify signals of TreeSearchPanel
2024-09-26 07:53:02 +02:00
Alexander Montag
1145ce0252
Clean up TreeSearch: Consistent p_params, -Destructor
2024-09-26 05:28:59 +00:00
Alexander Montag
8d29f16963
Fix filtering: Allow matching for root as ancestor
2024-09-25 19:47:28 +02:00
Alexander Montag
b8259c6ee7
Address memory leak
2024-09-25 19:47:28 +02:00
Alexander Montag
aed8892760
Fix regression from 62f8e: Select next item
2024-09-25 19:47:28 +02:00
Alexander Montag
8c323956e3
Unify highlight and filter, simplify ui
2024-09-25 19:47:28 +02:00
Alexander Montag
18a6bbeae6
Implement filtering for TreeSearch
2024-09-25 19:47:28 +02:00
Alexander Montag
b4974bffd2
Run clang-format
2024-09-25 19:47:28 +02:00
Alexander Montag
f523af2d13
Make TreeSearchPanel HFlowContainer
2024-09-25 19:47:28 +02:00
Alexander Montag
a80b737319
Implement tree search: highlighting
2024-09-25 19:47:28 +02:00
Alexander Montag
7c4a462a69
Add ui for Tree search
2024-09-25 19:47:28 +02:00
yds
db7c990f51
Remember loaded BehaviorTrees of last session
2024-09-21 16:23:13 -03:00
Alexander Montag
c2130a7b2f
Fix duplicate entries in Misc->layout
...
Fixes #218
2024-09-17 02:16:47 +02:00
Serhii Snitsaruk
50e9e570dd
Fix loop variables used as copy
2024-09-15 13:32:58 +02:00
yds
4df6647a75
Improve multiple drag and drop
2024-09-14 11:22:52 -03:00
yds
1742018696
Preserve selection after drop
2024-09-13 09:04:18 -03:00
yds
a460c7898b
Add drag preview
2024-09-13 09:04:18 -03:00
yds
8ee3688da2
Implement task multiple selection and drag and drop
2024-09-13 09:04:18 -03:00
Alexander Montag
ad11f401b1
Generalize EDITOR_DEF macro to fix potential editor setting issues
...
This commit provides a generalized solution to ensure editor settings are
properly initialized and available in both module and GDExtension versions.
While #204 fixed the specific issue with 'limbo_ai/editor/layout', this change
aims to prevent similar problems for all editor settings.
In particular, `limbo_ai/editor/prefer_online_documentation` was also not
available.
Changes:
- Updated EDITOR_DEF macro to handle both module and GDExtension cases
- Remove special case for `limbo_ai/editor/layout` in
LimboAiEditorPlugin from earlier fix.
2024-09-03 16:37:54 +02:00
Alexander Montag
a5517313d2
Fix editor setting initialization for GDExtensions
...
This commit addresses an issue where editor settings were not properly
initialized when using GDExtensions. The problem manifested as an error
message: "Condition '!props.has(pinfo.name)' is true" when trying to
access the "limbo_ai/editor/layout" setting.
Changes:
- Replace Dictionary with PropertyInfo for adding property information
- Add a safeguard to ensure the setting is explicitly set if not present
2024-09-02 10:27:22 +02:00
Serhii Snitsaruk
9da16a1e0f
Clean up unused string names
2024-08-21 20:04:35 +02:00
Serhii Snitsaruk
472f360cf9
Switch to contextual behavior tree upon undo action
2024-08-21 17:30:30 +02:00
Serhii Snitsaruk
c94ec7613d
Add hack to associate undo-redo actions with global history
2024-08-21 16:40:02 +02:00
yds
410efbe0d3
Fix tab names doesn't update when filesystem changes
2024-08-10 11:29:22 -03:00
yds
1b04a8589f
Make player filter in the debugger case-insensitive
2024-08-06 16:34:06 -03:00
Serhii Snitsaruk
c19fd54927
Edit task script on double-click (open help for core task)
2024-08-05 16:34:54 +02:00
Serhii Snitsaruk
5a4893fc53
Editor setting to prefer online docs, and open builtin docs by default
2024-08-05 15:46:02 +02:00
Serhii Snitsaruk
68a9492f3d
Fix uninitialized integers
2024-08-03 13:48:15 +02:00
Serhii Snitsaruk
c4c9b5fe09
Utilize BTInstance in BTState
2024-08-03 11:39:23 +02:00
Serhii Snitsaruk
fc26f51ff2
Implement BTInstance - runtime instance of BehaviorTree
2024-08-03 11:07:06 +02:00
yds
3e5e34f5f8
Fix new task script path don't update after changing the setting
2024-07-10 13:23:48 -03:00
Serhii Snitsaruk
5f40d38f8d
Add a hack to force documentation parsing on user scripts
...
As things currently stand in Godot Engine, documentation comments are
not loaded from user scripts into help system when the project is
started. This leads to empty tooltips for user tasks in LimboAI, unless
such a script is resaved.
This hack forces script documentation to be added to help system,
when the editor needs it to show a tooltip.
2024-07-07 12:13:07 +02:00
Serhii Snitsaruk
800bc8f16d
Tooltip improvements
...
- Fix tooltip not shown for scripted tasks in TaskPalette
- Allow following links in the tooltip text
- If help data cannot be found, an empty tooltip is shown instead
2024-07-06 16:46:55 +02:00
Serhii Snitsaruk
40acd04eb9
Fix tooltip popup too small
2024-07-06 12:33:08 +02:00
Serhii Snitsaruk
f1af947060
Defer banner actions to not crash upon restart
2024-07-06 12:13:58 +02:00
Serhii Snitsaruk
254a9ca943
Merge pull request #157 from limbonaut/task-palette-placement
...
Improved layout for wide displays (optional)
2024-07-06 10:08:01 +02:00
Serhii Snitsaruk
bc99965205
Fix compilation with GDExtension
2024-07-06 09:46:22 +02:00
Serhii Snitsaruk
cfa1f70d79
Update banners upon editor settings changed
2024-07-06 09:38:33 +02:00