mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-22 20:06:49 +01:00
Fix built in resource drag&drop and scene quick instancing in the editor.
This commit is contained in:
parent
3317240135
commit
443cfea5b2
@ -1015,7 +1015,7 @@ StringName EditorData::type_get_from_anonymous_path(const String &p_path) const
|
||||
|
||||
Ref<Script> script = res->get_script();
|
||||
|
||||
StringName res_name = "Resource";
|
||||
StringName res_name = res->get_class_name();
|
||||
|
||||
if (script.is_null()) {
|
||||
return res_name;
|
||||
|
Loading…
Reference in New Issue
Block a user