You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
-removed resources dock, good bye old friend
This commit is contained in:
@@ -73,7 +73,11 @@ void EditorPath::_notification(int p_what) {
|
||||
if (obj->cast_to<Resource>()) {
|
||||
|
||||
Resource *r = obj->cast_to<Resource>();
|
||||
name=r->get_name();
|
||||
if (r->get_path().is_resource_file())
|
||||
name=r->get_path().get_file();
|
||||
else
|
||||
name=r->get_name();
|
||||
|
||||
if (name=="")
|
||||
name=r->get_type();
|
||||
} else if (obj->cast_to<Node>()) {
|
||||
|
||||
Reference in New Issue
Block a user