You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Prevent cyclic reference between script and its members
This commit is contained in:
@@ -56,7 +56,8 @@ struct GDScriptDataType {
|
||||
bool has_type = false;
|
||||
Variant::Type builtin_type = Variant::NIL;
|
||||
StringName native_type;
|
||||
Ref<Script> script_type;
|
||||
Script *script_type = nullptr;
|
||||
Ref<Script> script_type_ref;
|
||||
|
||||
bool is_type(const Variant &p_variant, bool p_allow_implicit_conversion = false) const {
|
||||
if (!has_type) {
|
||||
|
||||
Reference in New Issue
Block a user