Skip to content

Commit

Permalink
Merge branch 'master' into feat/custom_inspector
Browse files Browse the repository at this point in the history
  • Loading branch information
redthing1 committed Sep 2, 2024
2 parents 6c4a3c6 + ea4010b commit 87d06b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions source/re/ng/scene.d
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,11 @@ abstract class Scene {

resolution = Core.default_resolution;

if (use_default_viewport) {
// create default viewport
create_default_viewport();
if (!Core.headless) {
if (use_default_viewport) {
// create default viewport
create_default_viewport();
}
}
}

Expand Down

0 comments on commit 87d06b2

Please sign in to comment.