SceneMainLoop -> SceneTree
-=-=-=-=-=-=-=-=-=-=-=-=-=- *YOUR SOURCE MIGHT NOT WORK* For mor information on fix: https://github.com/okamstudio/godot/wiki/devel_scene_tree Other stuff: -Shower of bullets demo -Fixes all around
This commit is contained in:
parent
d14baf6e41
commit
0dbedd18fc
168 changed files with 1534 additions and 1310 deletions
|
|
@ -462,7 +462,7 @@ void EditorSelection::add_node(Node *p_node) {
|
|||
}
|
||||
selection[p_node]=meta;
|
||||
|
||||
p_node->connect("exit_scene",this,"_node_removed",varray(p_node),CONNECT_ONESHOT);
|
||||
p_node->connect("exit_tree",this,"_node_removed",varray(p_node),CONNECT_ONESHOT);
|
||||
|
||||
//emit_signal("selection_changed");
|
||||
}
|
||||
|
|
@ -478,7 +478,7 @@ void EditorSelection::remove_node(Node *p_node) {
|
|||
if (meta)
|
||||
memdelete(meta);
|
||||
selection.erase(p_node);
|
||||
p_node->disconnect("exit_scene",this,"_node_removed");
|
||||
p_node->disconnect("exit_tree",this,"_node_removed");
|
||||
//emit_signal("selection_changed");
|
||||
}
|
||||
bool EditorSelection::is_selected(Node * p_node) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue