From 1509585cd1adcf7cff7beecc72e953583a2ea07e Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 15 Sep 2021 00:22:59 +0300 Subject: [PATCH] Fix a logic error in Sequence This condition accidentally got flipped in 3ac3a51. --- source/render/sequence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/render/sequence.cpp b/source/render/sequence.cpp index e6dafa0e..9a50b8f6 100644 --- a/source/render/sequence.cpp +++ b/source/render/sequence.cpp @@ -130,7 +130,7 @@ void Sequence::add_postprocessor(PostProcessor *pp, bool owned) } catch(...) { - if(!owned) + if(owned) delete pp; postproc.pop_back(); throw; -- 2.45.2