You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-27 15:57:02 +00:00
Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.
This commit is contained in:
@@ -1573,7 +1573,7 @@ void ResourceFormatSaverBinaryInstance::_find_resources(const Variant &p_variant
|
||||
switch (p_variant.get_type()) {
|
||||
case Variant::OBJECT: {
|
||||
|
||||
RES res = p_variant.operator RefPtr();
|
||||
RES res = p_variant;
|
||||
|
||||
if (res.is_null() || external_resources.has(res))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user