Skip to content

Commit

Permalink
Fix scene files not being found in headless mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
leMaik committed Oct 6, 2024
1 parent 23f4598 commit 7f6482d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chunky/src/java/se/llbit/chunky/main/Chunky.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public void close() {
});

try {
sceneManager.loadScene(options.sceneDir, options.sceneName);
sceneManager.loadScene(options.getSceneDescriptionFile().getParentFile(), options.sceneName);
if (options.target != -1) {
sceneManager.getScene().setTargetSpp(options.target);
}
Expand Down

0 comments on commit 7f6482d

Please sign in to comment.