Skip to content

Commit

Permalink
Fixed filter with overlayImage returning isEmpty.
Browse files Browse the repository at this point in the history
Fixes #306
  • Loading branch information
rFlex committed May 16, 2016
1 parent 753009c commit bcba4ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Sources/SCFilter.m
Expand Up @@ -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;
}

Expand Down

2 comments on commit bcba4ef

@jln19
Copy link

@jln19 jln19 commented on bcba4ef May 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rFlex I tried making this update. Now there is a crash at line 317 of SCFilter.m. -[CIImage imageByCompositingOverImage:]: unrecognized selector sent to instance 0x14648c40

@priyeshmarvi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rFlex can't see this changes when I update pods... can you please check that.. thanks

Please sign in to comment.