feat: 静画に対応
This commit is contained in:
+4
-3
@@ -232,10 +232,10 @@ class SEQUENCER_PT_face_mask(Panel):
|
||||
)
|
||||
|
||||
def _draw_batch_controls(self, layout, context, seq_editor):
|
||||
"""Draw batch bake button when multiple MOVIE strips are selected."""
|
||||
"""Draw batch bake button when multiple MOVIE/IMAGE strips are selected."""
|
||||
if not seq_editor:
|
||||
return
|
||||
selected_movies = [s for s in seq_editor.strips if s.select and s.type == "MOVIE"]
|
||||
selected_movies = [s for s in seq_editor.strips if s.select and s.type in {"MOVIE", "IMAGE"}]
|
||||
if not selected_movies:
|
||||
return
|
||||
count = len(selected_movies)
|
||||
@@ -303,7 +303,8 @@ class SEQUENCER_PT_face_mask(Panel):
|
||||
col = box.column(align=True)
|
||||
col.prop(context.scene, "facemask_bake_blur_size")
|
||||
col.prop(context.scene, "facemask_bake_display_scale")
|
||||
col.prop(context.scene, "facemask_bake_format")
|
||||
if strip.type == "MOVIE":
|
||||
col.prop(context.scene, "facemask_bake_format")
|
||||
|
||||
box.separator()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user