mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Merge branch 'master' of https://github.com/okamstudio/godot
This commit is contained in:
commit
6f1410a837
@ -718,8 +718,7 @@ void SceneTreeDialog::_cancel() {
|
||||
void SceneTreeDialog::_select() {
|
||||
|
||||
if (tree->get_selected()) {
|
||||
Node *scene = EditorNode::get_singleton()->get_edited_scene();
|
||||
emit_signal("selected","/root/" + scene->get_parent()->get_path_to(tree->get_selected()));
|
||||
emit_signal("selected",tree->get_selected()->get_path());
|
||||
hide();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user