diff --git a/Engine/WriteNode.cpp b/Engine/WriteNode.cpp index 64ebd09d24..cc9b49bb95 100644 --- a/Engine/WriteNode.cpp +++ b/Engine/WriteNode.cpp @@ -1258,6 +1258,22 @@ WriteNode::knobChanged(KnobI* k, return ret; } // WriteNode::knobChanged + +SequentialPreferenceEnum +WriteNode::getSequentialPreference() const +{ + NodePtr writer = _imp->embeddedPlugin.lock(); + + if (writer) { + EffectInstancePtr effect = writer->getEffectInstance(); + if (effect) { + return effect->getSequentialPreference(); + } + } + return EffectInstance::getSequentialPreference(); +} + + bool WriteNode::isViewAware() const { diff --git a/Engine/WriteNode.h b/Engine/WriteNode.h index e44de03b25..1eac83d130 100644 --- a/Engine/WriteNode.h +++ b/Engine/WriteNode.h @@ -111,6 +111,7 @@ GCC_DIAG_SUGGEST_OVERRIDE_ON void renderSequenceStarted(); void renderSequenceEnd(); + virtual SequentialPreferenceEnum getSequentialPreference() const OVERRIDE FINAL WARN_UNUSED_RETURN; virtual bool isViewAware() const OVERRIDE FINAL WARN_UNUSED_RETURN; public Q_SLOTS: