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
|
|
@ -129,7 +129,7 @@ void Console::_window_input_event(InputEvent p_event) {
|
|||
|
||||
if (p_event.key.scancode==KEY_ESCAPE && !window_has_modal_stack() && is_visible()) {
|
||||
hide();
|
||||
get_scene()->call_group(0,"windows","_cancel_input_ID",p_event.ID);
|
||||
get_tree()->call_group(0,"windows","_cancel_input_ID",p_event.ID);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -153,7 +153,7 @@ void Console::_notification(int p_what) {
|
|||
|
||||
switch(p_what) {
|
||||
|
||||
case NOTIFICATION_ENTER_SCENE: {
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
|
||||
_resized();
|
||||
show();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue