Skip to content

Commit

Permalink
Merge pull request godotengine#98911 from KoBeWi/πŸ˜΅β€πŸ’«
Browse files Browse the repository at this point in the history
Fix wrong checked menu item in 3D editor
  • Loading branch information
Repiteo committed Nov 7, 2024
2 parents 3a7efc9 + 4cbf156 commit 36e6207
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/node_3d_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8480,7 +8480,7 @@ void Node3DEditor::clear() {
}

for (uint32_t i = 0; i < VIEWPORTS_COUNT; i++) {
viewports[i]->view_menu->get_popup()->set_item_checked(view_menu->get_popup()->get_item_index(Node3DEditorViewport::VIEW_AUDIO_LISTENER), i == 0);
viewports[i]->view_menu->get_popup()->set_item_checked(viewports[i]->view_menu->get_popup()->get_item_index(Node3DEditorViewport::VIEW_AUDIO_LISTENER), i == 0);
viewports[i]->viewport->set_as_audio_listener_3d(i == 0);
}

Expand Down

0 comments on commit 36e6207

Please sign in to comment.