diff --git a/dublast/__init__.py b/dublast/__init__.py index 2695925..1409012 100644 --- a/dublast/__init__.py +++ b/dublast/__init__.py @@ -15,7 +15,7 @@ "name" : "DuBlast", "author" : "Nicolas 'Duduf' Dufresne, Kevin C. Burke (@blastframe)", "blender" : (2, 81, 0), - "version" : (3,3,0), + "version" : (3,3,1), "location" : "Properties > Output Properties > Playblast, 3D View > View menu", "description" : "Create playblasts: Quickly render and play viewport animation.", "warning" : "", diff --git a/dublast/playblast.py b/dublast/playblast.py index 555351c..2320e72 100644 --- a/dublast/playblast.py +++ b/dublast/playblast.py @@ -145,8 +145,8 @@ def execute(self, context): use_stamp_note = render.use_stamp_note stamp_note_text = render.stamp_note_text - codec = render.ffmpeg.codec scformat = render.ffmpeg.format + codec = render.ffmpeg.codec constant_rate_factor = render.ffmpeg.constant_rate_factor gopsize = render.ffmpeg.gopsize audio_codec = render.ffmpeg.audio_codec @@ -309,12 +309,7 @@ def execute(self, context): scene.frame_step = frame_step render.filepath = filepath render.image_settings.file_format = file_format - render.image_settings.color_mode = color_mode - render.image_settings.quality = quality - render.image_settings.compression = compression - render.image_settings.color_depth = color_depth - render.use_stamp = use_stamp - render.stamp_font_size = stamp_font_size + render.ffmpeg.format = scformat render.ffmpeg.codec = codec render.ffmpeg.constant_rate_factor = constant_rate_factor @@ -323,6 +318,13 @@ def execute(self, context): render.ffmpeg.audio_codec = audio_codec render.ffmpeg.audio_bitrate = audio_bitrate + render.image_settings.compression = compression + render.image_settings.color_mode = color_mode + render.image_settings.quality = quality + render.image_settings.color_depth = color_depth + render.use_stamp = use_stamp + render.stamp_font_size = stamp_font_size + render.stamp_foreground = stamp_foreground render.stamp_background = stamp_background