You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Fix main(2D, 3D, Script) panel not updated when start up and select from tool button
This commit is contained in:
@@ -3431,7 +3431,7 @@ Dictionary EditorNode::_get_main_scene_state() {
|
||||
|
||||
void EditorNode::_set_main_scene_state(Dictionary p_state,Node* p_for_scene) {
|
||||
|
||||
if (get_edited_scene()!=p_for_scene)
|
||||
if (get_edited_scene()!=p_for_scene && p_for_scene!=NULL)
|
||||
return; //not for this scene
|
||||
|
||||
//print_line("set current 7 ");
|
||||
|
||||
Reference in New Issue
Block a user