godot/core/extension
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
..
extension_api_dump.cpp Add brief description in GDExtension API dump with docs 2023-10-14 12:06:37 +02:00
extension_api_dump.h Optionally include documentation in GDExtension API dump 2023-09-26 21:39:24 +02:00
gdextension.cpp GDExtension: Fixed error on loading extensions 2023-10-21 17:00:18 +02:00
gdextension.h Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
gdextension_compat_hashes.cpp Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
gdextension_compat_hashes.h Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
gdextension_interface.cpp GDExtension: Fix variant_iter_get() actually calling iter_next() 2023-10-20 10:07:46 -05:00
gdextension_interface.h Fix comment in gdextension_interface.h 2023-10-16 21:40:45 +02:00
gdextension_manager.cpp Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
gdextension_manager.h Fix StringName leaks in GDExtension, core, and editor themes 2023-10-18 17:36:20 +02:00
make_interface_dumper.py Compress embedded GDExtension interface 2023-05-16 22:16:45 +02:00
make_wrappers.py [GDExtension] Use function names with underscore for TextServer extension, add macros to generate wrappers for module functions. 2022-09-28 10:04:11 +03:00
SCsub Rename all gdnative occurences to gdextension 2022-12-12 11:04:57 +01:00