Commit Graph

1149 Commits

Author SHA1 Message Date
Serhii Snitsaruk 78396708d4
Bump version to 1.2.1 2024-09-05 13:52:42 +02:00
Serhii Snitsaruk 6c86ce566c
Merge pull request #206 from limbonaut/gdextension-print-workaround
Override _to_string() to give useful info about objects in GDExtension
2024-09-05 13:48:57 +02:00
Serhii Snitsaruk 16a3bb0273
Override _to_string() to print useful info about objects in GDExtension 2024-09-05 13:39:47 +02:00
Serhii Snitsaruk ac209e7fc3
Update .gitignore 2024-09-05 11:37:18 +02:00
Serhii Snitsaruk 49b3a0ad6f
Merge pull request #205 from monxa/fix-editor-setting-gdextension
Generalize EDITOR_DEF macro to fix potential editor setting issues
2024-09-03 17:18:46 +02: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
Serhii Snitsaruk d972b2e7ff
Merge pull request #204 from monxa/fix-editor-setting-gdextension
Fix editor setting initialization for GDExtensions
2024-09-03 02:23:28 +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 f694980c6d
Merge pull request #202 from limbonaut/fix-custom-scene-root
Fix custom scene root is not used in BTPlayer and BTState
2024-08-31 20:00:47 +02:00
Serhii Snitsaruk b981d430f1
Fix custom scene root is not used in BTPlayer and BTState 2024-08-31 19:37:44 +02:00
Serhii Snitsaruk c0bc484f0c
README: Link to stable documentation instead of latest 2024-08-25 15:24:13 +02:00
Serhii Snitsaruk af68b1eebc
Update README.md 2024-08-22 17:28:02 +02:00
Serhii Snitsaruk f83cf659e8
GHA: Fix error building .NET assemblies for Windows 2024-08-22 14:23:20 +02:00
Serhii Snitsaruk bd0dcb3184
GHA: Add action to build .NET assemblies 2024-08-22 13:07:16 +02:00
Serhii Snitsaruk 338c9c8ccb
Bump version to 1.2.0 2024-08-22 00:50:16 +02:00
Serhii Snitsaruk a92fb9da8e
Merge pull request #201 from limbonaut/fix-undo-redo
Fix editor undo polluting scene history if `BehaviorTree` is not saved to a file
2024-08-21 20:57:51 +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
Serhii Snitsaruk 9ae61e0556
Merge pull request #200 from limbonaut/dotnet-templates
GHA: Build additional .NET templates - Android & iOS
2024-08-21 01:39:03 +02:00
Serhii Snitsaruk 9c8d782fb2
GHA: Build Android .NET templates 2024-08-20 22:13:07 +02:00
Serhii Snitsaruk d709389c87
GHA: Build iOS .NET templates 2024-08-20 17:34:10 +02:00
Serhii Snitsaruk f550ddd23f
Better error message when failed to read editor setting 2024-08-18 12:41:16 +02:00
Serhii Snitsaruk f232069dc4
Merge pull request #199 from limbonaut/gha-fix-dotnet-template-version
GHA: .NET build workflow fixes
2024-08-17 14:21:53 +02:00
Serhii Snitsaruk 6fabad213e
GHA: Fix nuget versions in linux and macos builds 2024-08-16 23:27:58 +02:00
Serhii Snitsaruk cc3d650d23
Fix .NET incorrect template version in version.txt 2024-08-16 20:20:22 +02:00
Serhii Snitsaruk 3a4caeb298
Merge pull request #198 from limbonaut/fix-btstate-overwriting-bb-vars
Don't overwrite exisiting blackboard variables in `BTState` upon initialization
2024-08-16 11:32:00 +02:00
Serhii Snitsaruk ee404c828a
Doc: Update using-blackboard.rst 2024-08-16 10:53:59 +02:00
Serhii Snitsaruk 43035839b1
Don't warn of mismatch between Object & NodePath 2024-08-16 00:44:37 +02:00
Serhii Snitsaruk cfacd57f15
Warn about type mismatch when populating blackboard 2024-08-15 23:41:39 +02:00
Serhii Snitsaruk 000f9c15d8
Fix BTState overwriting blackboard variables on init 2024-08-15 23:41:36 +02:00
Serhii Snitsaruk d7438b8a8d
Bump version to 1.2-rc 2024-08-15 16:30:42 +02:00
Serhii Snitsaruk b59db1eee8
Merge pull request #197 from limbonaut/gha-nuget-version
GHA: Preserve nuget version for C# builds
2024-08-15 16:12:53 +02:00
Serhii Snitsaruk 26cf0bb6b4
GHA: Preserve nuget version for C# builds 2024-08-15 16:11:00 +02:00
Serhii Snitsaruk 635ada23dd
Merge pull request #195 from limbonaut/fix-mapping-bug
BlackboardPlan: Fix mapping failing for NodePath variables with prefetch enabled
2024-08-14 21:15:33 +02:00
Serhii Snitsaruk e12beee51e
Fix mapping failing for NodePath variables with prefetch enabled 2024-08-14 20:34:56 +02:00
Serhii Snitsaruk 1f6cc8e55c
GHA: Change test build configuration 2024-08-11 12:56:45 +02:00
Serhii Snitsaruk f8ab80defa
Merge pull request #193 from limbonaut/fix-monitor-performance
Fix `monitor_performance` screwing C# exports
2024-08-11 12:43:28 +02:00
Serhii Snitsaruk 314fcfd741
Fix monitor_performance screwing C# exports 2024-08-11 12:37:37 +02:00
Serhii Snitsaruk 6ada9cef2f
Merge pull request #191 from ydeltastar/fix-tab-update
Fix renaming `BehaviorTree` files doesn't update tab names
2024-08-11 11:26:48 +02:00
yds 410efbe0d3 Fix tab names doesn't update when filesystem changes 2024-08-10 11:29:22 -03:00
Serhii Snitsaruk 85d5af180b
Clarify add_event_handler in docs 2024-08-10 15:01:43 +02:00
Serhii Snitsaruk b4eec2c364
Fix event handler signature example in docs 2024-08-10 14:58:20 +02:00
Serhii Snitsaruk 02af29f2fa
Merge pull request #190 from limbonaut/dev-setup
Improved dev setup for GDExtension
2024-08-10 11:06:43 +02:00
Serhii Snitsaruk 3a40de482f
Fix icon *.import files on scons build
Enables editor scaling and color conversion in LimboAI icon imports.
This won't work until icons are actually imported in the godot editor, but that's okay - it's a convenience feature.
2024-08-10 10:32:35 +02:00
Serhii Snitsaruk 1e1fb5adaf
Clone godot-cpp if not found during scons build 2024-08-09 14:21:40 +02:00
Serhii Snitsaruk 80e3ff705d
Remove setup_gdextension.sh & update README 2024-08-09 13:13:26 +02:00
Serhii Snitsaruk 10b90b70fe
GHA: Don't use setup_gdextension.sh (no longer needed) 2024-08-08 22:55:51 +02:00
Serhii Snitsaruk 7708a11840
Deploy icons on scons build (optionally) 2024-08-08 22:00:16 +02:00
Serhii Snitsaruk 98accb1aa8
Automatically deploy limboai.gdextension on build 2024-08-08 14:41:25 +02:00