godot/main
Jason Yundt 6ca73386d1 Improve autoload inheritance error message
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.

Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.

Fixes #59884.

(cherry picked from commit 1cc7e7ec33)
2022-04-13 11:43:49 +02:00
..
tests Fix test_shader_lang (for 3.x) 2022-02-22 15:24:34 +03:00
app_icon.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
default_controller_mappings.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
gamecontrollerdb.txt Sync controller mappings DB with SDL2 community repo 2022-02-21 11:11:36 +01:00
godotcontrollerdb.txt Sync controller mappings DB with SDL2 community repo 2022-02-21 11:11:36 +01:00
input_default.cpp Fix crash on get index for non-existing string 2022-03-17 17:49:12 +09:00
input_default.h Simplify InputDefault::joy_axis code by using float instead of struct JoyAxis 2022-01-14 15:36:35 +00:00
main_builders.py Tweak the editor splash screen color to better match the default theme 2021-03-19 10:51:39 +01:00
main_timer_sync.cpp Disable jitter fix when physics interpolation is enabled. 2022-02-21 10:32:42 +00:00
main_timer_sync.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
main.cpp Improve autoload inheritance error message 2022-04-13 11:43:49 +02:00
main.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
performance.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
performance.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
SCsub Remove editor splash screen with sponsors logo 2021-12-01 14:18:29 +01:00
splash.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2019-10-12 23:23:33 +02:00