From 9961fb0638bb86e612eb867efeb0a2c95f777c06 Mon Sep 17 00:00:00 2001 From: p2or <512368+p2or@users.noreply.github.com> Date: Wed, 20 Mar 2024 09:09:46 +0100 Subject: [PATCH] Scene validation - post process props --- loom.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/loom.py b/loom.py index 782934f..47a25ef 100644 --- a/loom.py +++ b/loom.py @@ -1220,16 +1220,16 @@ def execute(self, context): user_error = True """ Scene validation """ - if len(scn.sequence_editor.sequences): + if scn.render.use_sequencer and len(scn.sequence_editor.sequences): if self.validate_sequencer(context): if not user_input.isdigit(): self.report( {'INFO'}, "Scene Strip(s) in 'Sequencer' detected: " - "Switched to commandline rendering...") + "Switched to Command Line rendering...") lum.command_line = True else: - if scn.use_nodes: + if scn.render.use_compositing and scn.use_nodes: rlyr = self.validate_comp(context) if rlyr is not None: self.report( @@ -3938,16 +3938,16 @@ def execute(self, context): """ Scene validation in case the operator is called via console """ if self.validate_scene: - if len(scn.sequence_editor.sequences): + if scn.render.use_sequencer and len(scn.sequence_editor.sequences): if self.validate_sequencer(context): if len(self._frames) > 1 and not self.render_silent: self.report( {'INFO'}, "Scene Strip(s) in 'Sequencer' detected: " - "Automatically switched to silent rendering...") + "Automatically switched to 'silent' rendering...") self.render_silent = True else: - if scn.use_nodes: + if scn.render.use_compositing and scn.use_nodes: rlyr = self.validate_comp(context) if rlyr is not None: self.report(