Revision: 14492
http://sourceforge.net/p/skim-app/code/14492
Author: hofman
Date: 2024-09-29 16:08:55 +0000 (Sun, 29 Sep 2024)
Log Message:
-----------
check class attribute instead of type for CIImage filter attribute, the type
can be nil
Modified Paths:
--------------
trunk/SKTransitionController.m
Modified: trunk/SKTransitionController.m
===================================================================
--- trunk/SKTransitionController.m 2024-09-28 16:15:15 UTC (rev 14491)
+++ trunk/SKTransitionController.m 2024-09-29 16:08:55 UTC (rev 14492)
@@ -324,7 +324,7 @@
if ([transitionFilter valueForKey:key] == nil) continue;
CGRect r = [[transitionFilter valueForKey:key] CGRectValue];
value = [CIVector vectorWithCGRect:CGRectMake(scale *
CGRectGetMinX(r), scale * CGRectGetMinY(r), scale * CGRectGetWidth(r), scale *
CGRectGetHeight(r))];
- } else if ([type isEqualToString:kCIAttributeTypeImage]) {
+ } else if ([[[[transitionFilter attributes] objectForKey:key]
objectForKey:kCIAttributeClass] isEqualToString:@"CIImage"]) {
// Scale and translate our mask image to match the transition area
size.
static CIImage *inputMaskImage = nil;
if (inputMaskImage == nil)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit