fix render single file

This commit is contained in:
ChristopheSeux
2023-10-09 18:30:06 +02:00
parent f57c4f8133
commit a449f146f1
3 changed files with 20 additions and 5 deletions
+3 -2
View File
@@ -9,7 +9,7 @@ from bpy.types import Operator
from bpy.props import BoolProperty
from vse_toolbox.sequencer_utils import (get_strips, render_strip, render_sound)
from vse_toolbox.bl_utils import (get_scene_settings, background_render)
from vse_toolbox.bl_utils import (get_scene_settings, background_render, render_scene)
from vse_toolbox.file_utils import install_module
@@ -92,7 +92,8 @@ class VSETB_OT_render(Operator):
start_time = time.perf_counter()
if project.render_video:
video_path = project.render_video_template.format(**format_data)
background_render(output=video_path)
render_scene(video_path)
#background_render(output=video_path)
if project.render_audio:
audio_path = project.render_audio_template.format(**format_data)