godot/modules
George Marques 22236380c0
GDScript: Initialize static variables with defaults in-editor
When the script is not marked as `@tool` the static constructor is not
called and thus the variables contain `null` by default. But since some
validated operations requires a valid value, this would cause a crash.

This commit solves this by initializing the static variables with a
default value based on their types in the editor, when they are not
marked as `@tool`, so if some `@tool` script access them, they will have
a valid typed value, avoiding the crash.
2024-05-02 15:09:22 -03:00
..
astcenc Merge pull request #88763 from BlueCube3310/image-is-compressed-static 2024-05-02 14:01:18 +02:00
basis_universal Merge pull request #88763 from BlueCube3310/image-is-compressed-static 2024-05-02 14:01:18 +02:00
bmp
camera
csg Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
cvtt Merge pull request #88763 from BlueCube3310/image-is-compressed-static 2024-05-02 14:01:18 +02:00
dds Add 'override' mark to ResourceFormat class 2024-03-25 04:06:34 +08:00
enet
etcpak Merge pull request #88763 from BlueCube3310/image-is-compressed-static 2024-05-02 14:01:18 +02:00
fbx Resolve bind poses from FBX clusters instead of FBX poses 2024-04-25 21:13:50 +03:00
freetype
gdscript GDScript: Initialize static variables with defaults in-editor 2024-05-02 15:09:22 -03:00
glslang
gltf Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
gridmap Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
hdr
interactive_music Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
jpg
jsonrpc Add unit tests for JSONRPC 2024-04-10 18:27:08 +01:00
ktx libktx: Update to 4.3.2 2024-04-05 12:18:00 +02:00
lightmapper_rd LightmapGI: Fix seam blending with directional lightmaps 2024-04-18 14:21:29 +02:00
mbedtls mbedTLS: Update to new LTS v3.6.0 2024-04-10 21:19:22 +02:00
meshoptimizer
minimp3
mobile_vr MobileVR: orientation is progressive and needs to be initialised 2024-04-29 21:46:28 +10:00
mono Expose Vector* component-wise and scalar min/max to scripting 2024-05-02 13:02:40 +02:00
msdfgen
multiplayer Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
navigation Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
noise Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
ogg
openxr Add support for OpenXR hand interaction extension 2024-05-02 19:15:02 +10:00
raycast Fix arm64/Windows build. 2024-04-30 16:26:42 +03:00
regex Add additional unit tests for RegEx 2024-04-10 23:24:27 +02:00
squish
svg Fix error when loading SVG imported as Image 2024-04-12 18:01:58 +08:00
text_server_adv SCons: Fixes for warn/error colorization 2024-04-29 11:56:21 -05:00
text_server_fb SCons: Fixes for warn/error colorization 2024-04-29 11:56:21 -05:00
tga
theora Add 'override' mark to ResourceFormat class 2024-03-25 04:06:34 +08:00
tinyexr
upnp Use local variable to stop memory leak. 2024-04-05 09:13:27 +11:00
vhacd
vorbis
webp Add 'override' mark to ResourceFormat class 2024-03-25 04:06:34 +08:00
webrtc
websocket
webxr Remove the Hand enum from XRHandTracker to fix name-collision with the hand property of the base class. 2024-04-25 19:38:57 -04:00
xatlas_unwrap
zip Fix ZIPReader.get_files() error on empty zip files 2024-04-08 15:57:35 -04:00
modules_builders.py
register_module_types.h
SCsub