Render Review: Fix Import Errors #122
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user