1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Multiple, simultaneous node editing spuport!!

..but will you be brave enough to try it? :)
This commit is contained in:
Juan Linietsky
2015-08-25 00:08:45 -03:00
parent 0d77277a86
commit eff2931b2a
9 changed files with 199 additions and 10 deletions

View File

@@ -1427,10 +1427,7 @@ void EditorNode::_edit_current() {
resources_dock->add_resource(Ref<Resource>(current_res));
//top_pallete->set_current_tab(1);
}
if (current_obj->is_type("Node")) {
} else if (current_obj->is_type("Node")) {
Node * current_node = current_obj->cast_to<Node>();
ERR_FAIL_COND(!current_node);
@@ -1445,6 +1442,12 @@ void EditorNode::_edit_current() {
//top_pallete->set_current_tab(0);
} else {
property_editor->edit( current_obj );
//scene_tree_dock->set_selected(current_node);
//object_menu->get_popup()->clear();
}
/* Take care of PLUGIN EDITOR */