You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
GDScript: partially allow some functions on invalid scripts
+ always default initialize static variables + dont invalidate script when dependant scripts don't compile/resolve
This commit is contained in:
@@ -169,9 +169,7 @@ private:
|
||||
GDScriptFunction *static_initializer = nullptr;
|
||||
|
||||
Error _static_init();
|
||||
#ifdef TOOLS_ENABLED
|
||||
void _static_default_init(); // Initialize static variables with default values based on their types.
|
||||
#endif
|
||||
|
||||
int subclass_count = 0;
|
||||
RBSet<Object *> instances;
|
||||
|
||||
Reference in New Issue
Block a user