-Revert change that broke paths

This commit is contained in:
Juan Linietsky 2014-04-18 16:26:46 -03:00
parent 0360b454a4
commit 8ebe956421

View file

@ -715,8 +715,7 @@ void SceneTreeDialog::_cancel() {
void SceneTreeDialog::_select() { void SceneTreeDialog::_select() {
if (tree->get_selected()) { if (tree->get_selected()) {
Node *scene = EditorNode::get_singleton()->get_edited_scene(); emit_signal("selected",tree->get_selected()->get_path());
emit_signal("selected","/root/" + scene->get_parent()->get_path_to(tree->get_selected()));
hide(); hide();
} }
} }