Skip to content

Commit f8db619

Browse files
committed
[nodes] ScenePreview: Use {nodeSourceCodeFolder} for the script's path
1 parent 49abb6b commit f8db619

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

meshroom/nodes/blender/ScenePreview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class ScenePreview(desc.CommandLineNode):
3232
name="script",
3333
label="Script",
3434
description="Path to the internal script for rendering in Blender.",
35-
value=os.path.join(currentDir, "scripts", "preview.py"),
35+
value=os.path.join("{nodeSourceCodeFolder}", "scripts", "preview.py"),
3636
invalidate=False,
3737
group="",
3838
advanced=True,

0 commit comments

Comments
 (0)