Skip to content

Commit

Permalink
Merge pull request #78694 from Yadnesh-Kulkarni/bugfix-grid-view-disa…
Browse files Browse the repository at this point in the history
…ppear-#78588

Fix 3D viewport grid disappearing on scene tab changes
  • Loading branch information
akien-mga committed Jul 8, 2023
2 parents 02a4d09 + a8dde28 commit e3dee8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/plugins/node_3d_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7925,6 +7925,8 @@ void Node3DEditor::clear() {
}

view_menu->get_popup()->set_item_checked(view_menu->get_popup()->get_item_index(MENU_VIEW_GRID), true);
grid_enabled = true;
grid_init_draw = false;
}

void Node3DEditor::_sun_direction_draw() {
Expand Down

0 comments on commit e3dee8c

Please sign in to comment.