virtualx-engine/core
Mario Liebisch f2bcd7d61f
GDExtension: Fixed error on loading extensions
Previously, before loading an extension, the editor just tried to
retrieve the extension by path to test if it's been loaded already.

While this is handled gracefully, it ignored an error thrown inside
`GDExtensionManager::get_extension()`, that would essentially still
report a not yet loaded extension to the engine's log:

```
ERROR: Condition "!E" is true. Returning: Ref<GDExtension>()
   at: GDExtensionManager::get_extension (core\extension\gdextension_manager.cpp:165)
```

This change actively checks whether the extension path is known and only
then proceeds to actually return the already loaded extension or loads
and returns the new one otherwise.
2023-10-21 17:00:18 +02:00
..
config Merge pull request #81196 from georgwacker/add-audiosession-options 2023-10-17 16:12:49 +02:00
crypto [Core] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-11 19:45:49 +02:00
debugger [Core] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-11 19:45:49 +02:00
error Usage notes for DEV_ASSERT macro 2023-08-02 13:29:35 +01:00
extension GDExtension: Fixed error on loading extensions 2023-10-21 17:00:18 +02:00
input Merge pull request #81322 from johnnyw/android_fix_joypad_trigger_range 2023-10-20 22:02:00 +02:00
io Merge pull request #82957 from bruvzg/fs_case_check 2023-10-13 12:55:35 +02:00
math Replace sanity with safety for checks 2023-10-08 16:22:24 +02:00
object Allow coexistance of GDScript and GDExtension virtual methods in the same object 2023-10-19 10:21:26 -04:00
os Web: Clarify that OS.get_unique_id is not supported 2023-09-27 15:17:45 +02:00
string Fix StringName leaks in VariantParser 2023-10-19 17:13:15 +02:00
templates Merge pull request #82797 from RandomShaper/fix_rbmap 2023-10-16 20:16:16 +02:00
variant Fix StringName leaks in VariantParser 2023-10-19 17:13:15 +02:00
core_bind.cpp Fixes to allow object-less callables throughout Godot 2023-10-06 16:31:35 -04:00
core_bind.h Merge pull request #78871 from jitspoe/master.pr_compute_convex_mesh_points 2023-08-16 09:11:53 +02:00
core_builders.py CI: Update static checks to black 23.3.0 2023-06-19 23:33:02 +02:00
core_constants.cpp Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
core_constants.h Make global scope enums accessible as types in GDScript 2023-02-19 13:00:07 -03:00
core_globals.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_globals.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
core_string_names.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
doc_data.cpp Display BitField[Enum] in docs to distinguish from Enum 2023-06-15 17:23:02 +03:00
doc_data.h GDScript: Add @deprecated and @experimental doc comment tags 2023-07-08 18:13:19 +03:00
register_core_types.cpp Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
register_core_types.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub Add 2D navigation mesh baking 2023-09-25 19:48:14 +02:00
typedefs.h Fix sign(NAN) returning 1. 2023-09-09 11:30:11 +02:00
version.h Fix Windows StringFileInfo structure 2023-04-12 22:08:49 +02:00