Skip to content

Commit 92a5cfd

Browse files
authored
Fix scene files not being found in headless mode. (#1778)
1 parent 23f4598 commit 92a5cfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chunky/src/java/se/llbit/chunky/main/Chunky.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public void close() {
165165
});
166166

167167
try {
168-
sceneManager.loadScene(options.sceneDir, options.sceneName);
168+
sceneManager.loadScene(options.getSceneDescriptionFile().getParentFile(), options.sceneName);
169169
if (options.target != -1) {
170170
sceneManager.getScene().setTargetSpp(options.target);
171171
}

0 commit comments

Comments
 (0)