You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add is_built_in() method to Resource
This commit is contained in:
@@ -1475,7 +1475,7 @@ void Object::_clear_internal_resource_paths(const Variant &p_var) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!r->get_path().begins_with("res://") || r->get_path().find("::") == -1) {
|
||||
if (!r->is_built_in()) {
|
||||
return; //not an internal resource
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user