diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-02-19 15:41:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 15:41:03 +0100 |
commit | b5729a82e9925062f88b06023db679623b3a3808 (patch) | |
tree | b97fb3a8a7e07d88cd752b1eca1a031a04ff1a25 /core/class_db.cpp | |
parent | 7c5ce0ac7c8d7ee5aca8e0361cfc28521c8d479c (diff) | |
parent | 4d960efafc64f0f94f68158ca49ed7f3dd9742dc (diff) |
Merge pull request #36358 from vnen/gdscript-variant-ref-fix
Remove static script reference from GDScript class
Diffstat (limited to 'core/class_db.cpp')
-rw-r--r-- | core/class_db.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/class_db.cpp b/core/class_db.cpp index 2fd0ee2d89..a2941d70f6 100644 --- a/core/class_db.cpp +++ b/core/class_db.cpp @@ -1410,10 +1410,7 @@ Variant ClassDB::class_get_default_property_value(const StringName &p_class, con cleanup_c = false; } else if (ClassDB::can_instance(p_class)) { c = ClassDB::instance(p_class); -#ifndef _MSC_VER -#warning FIXME: ObjectID refactoring broke GDScript handling of reference pointers, this needs a proper fix. -#endif - cleanup_c = (p_class != StringName("GDScript")); + cleanup_c = true; } if (c) { |