From bcba4efee84031d39f71ea64ee8b3697ec0f1f51 Mon Sep 17 00:00:00 2001 From: Simon Corsin Date: Mon, 16 May 2016 11:50:57 -0400 Subject: [PATCH] Fixed filter with overlayImage returning isEmpty. Fixes #306 --- Library/Sources/SCFilter.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Sources/SCFilter.m b/Library/Sources/SCFilter.m index 94aa9808..63220a1f 100644 --- a/Library/Sources/SCFilter.m +++ b/Library/Sources/SCFilter.m @@ -335,7 +335,7 @@ - (void)writeToFile:(NSURL *)fileUrl error:(NSError *__autoreleasing *)error { - (BOOL)isEmpty { BOOL isEmpty = YES; - if (_CIFilter != nil) { + if (_CIFilter != nil || _overlayImage != nil) { return NO; }