Fix 3D viewport grid disappearing on scene tab changes
This commit is contained in:
Rémi Verschelde 2023-07-08 18:16:55 +02:00
commit e3dee8cea9
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

View File

@ -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() {