feat: 静画に対応

This commit is contained in:
2026-02-22 16:35:51 +09:00
parent 32e4fbceb2
commit be65abc6b0
9 changed files with 693 additions and 76 deletions
+4 -3
View File
@@ -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()