[nodes] ScenePreview: Use {nodeSourceCodeFolder} for the script's path

This commit is contained in:
Candice Bentéjac 2025-01-23 09:54:22 +01:00
parent e0b2aafae3
commit 6b9e76d95a

View file

@ -32,7 +32,7 @@ One frame per viewpoint will be rendered, and the undistorted views can optional
name="script",
label="Script",
description="Path to the internal script for rendering in Blender.",
value=os.path.join(currentDir, "scripts", "preview.py"),
value=os.path.join("{nodeSourceCodeFolder}", "scripts", "preview.py"),
invalidate=False,
group="",
advanced=True,