Skip to content

Commit

Permalink
Merge pull request #22 from p2or/permissions
Browse files Browse the repository at this point in the history
Batch Dialog - Permission check #21
  • Loading branch information
p2or authored Oct 9, 2021
2 parents 7223543 + becadfa commit 59dcf8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions loom.py
Original file line number Diff line number Diff line change
Expand Up @@ -1422,10 +1422,12 @@ def execute(self, context):
info = "Encoding {} will be skipped [Missing Frames]".format(item.name)
self.report({'INFO'}, info)

"""
out_folder, out_filename = os.path.split(bpy.path.abspath(context.scene.render.filepath))
if not self.write_permission(os.path.realpath(out_folder)):
self.report({'ERROR'}, "Specified output folder does not exist (permission denied)")
user_error = True
"""

if len(black_list) > 1:
self.report({'ERROR'}, "Can not encode: {} (missing frames)".format(", ".join(black_list)))
Expand Down

0 comments on commit 59dcf8a

Please sign in to comment.