fix render single file
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user