You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
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:
@@ -221,8 +221,8 @@ void AnimationTreeEditor::_edit_dialog_animation_changed() {
|
||||
|
||||
void AnimationTreeEditor::_edit_dialog_edit_animation() {
|
||||
|
||||
if (get_scene()->is_editor_hint()) {
|
||||
get_scene()->get_root()->get_child(0)->call("_resource_selected", property_editor->get_variant().operator RefPtr());
|
||||
if (get_tree()->is_editor_hint()) {
|
||||
get_tree()->get_root()->get_child(0)->call("_resource_selected", property_editor->get_variant().operator RefPtr());
|
||||
};
|
||||
};
|
||||
|
||||
@@ -936,7 +936,7 @@ void AnimationTreeEditor::_notification(int p_what) {
|
||||
|
||||
switch(p_what) {
|
||||
|
||||
case NOTIFICATION_ENTER_SCENE: {
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
|
||||
play_button->set_icon( get_icon("Play","EditorIcons") );
|
||||
add_menu->set_icon( get_icon("Add","EditorIcons") );
|
||||
|
||||
Reference in New Issue
Block a user