Render Review: Fix Import Errors #122

Merged
Nick Alberelli merged 4 commits from :fix/render-review-import-errors into main 2023-07-13 19:44:15 +02:00
Showing only changes of commit f4477c728a - Show all commits

View File

@ -259,10 +259,12 @@ class RR_OT_sqe_create_review_session(bpy.types.Operator):
addon_prefs = prefs.addon_prefs_get(context) addon_prefs = prefs.addon_prefs_get(context)
imported_strips: bpy.types.Sequence = [] imported_strips: bpy.types.Sequence = []
for shot_folder in shot_version_folders:
if not (addon_prefs.shot_name_filter in shot_folder.parent.name):
# If there is a filter specified, and the shot doesn't match, remove it.
shot_version_folders.remove(shot_folder)
for idx, shot_folder in enumerate(shot_version_folders): for idx, shot_folder in enumerate(shot_version_folders):
if addon_prefs.shot_name_filter and addon_prefs.shot_name_filter not in shot_folder.parent.name:
# If there is a filter specified, and the shot doesn't match, skip it.
continue
logger.info("Processing %s", shot_folder.name) logger.info("Processing %s", shot_folder.name)
use_video = addon_prefs.use_video and \ use_video = addon_prefs.use_video and \