Skip to content

Commit

Permalink
got rid of error message by adding the image path back to the propert…
Browse files Browse the repository at this point in the history
…ies. Maybe deletable. For now - works
  • Loading branch information
hweiske committed Oct 15, 2024
1 parent fc97695 commit 4e42b47
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions render_vpts.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ class RenderImageOperator(bpy.types.Operator,ExportHelper):
# description="basename of the image",
# default='image'
# )
#imagepath:bpy.props.StringProperty(
# name='imagepath',
# description="path for the image",
# default='',
# subtype='FILE_PATH'
# )
#imagepath = bpy.props.StringProperty(subtype="FILE_PATH")
imagepath:bpy.props.StringProperty(
name='imagepath',
description="path for the image",
default='',
subtype='FILE_PATH'
)
imagepath = bpy.props.StringProperty(subtype="FILE_PATH")
def execute(self, context):
# Set up scene
scene = bpy.context.scene
Expand Down

0 comments on commit 4e42b47

Please sign in to comment.