Skip to content

Commit 325d1cc

Browse files
committed
fix relative render path
1 parent 5bc6874 commit 325d1cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

simloader/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ def print_information(scene):
1313
return
1414
now = datetime.now()
1515
path = bpy.context.scene.render.filepath
16+
path = bpy.path.abspath(path)
1617
filepath = path + '/simloader_' + now.strftime("%Y_%m_%d %H:%M")
1718
with open(filepath, 'w') as file:
1819
file.write("Render Time: {}\n".format(now.strftime("%Y_%m_%d %H:%M")))

0 commit comments

Comments
 (0)