Revision: 4661
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4661&view=rev
Author:   hofman
Date:     2008-09-21 00:42:41 +0000 (Sun, 21 Sep 2008)

Log Message:
-----------
forgot to combine paths for joining ink notes

Modified Paths:
--------------
    trunk/SKPDFView.m

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2008-09-21 00:23:21 UTC (rev 4660)
+++ trunk/SKPDFView.m   2008-09-21 00:42:41 UTC (rev 4661)
@@ -3008,11 +3008,12 @@
                 NSRect bounds = [activeAnnotation bounds];
                 [transform translateXBy:NSMinX(bounds) yBy:NSMinY(bounds)];
                 [paths 
makeObjectsPerformSelector:@selector(transformUsingAffineTransform:) 
withObject:transform];
-                
                 transform = [NSAffineTransform transform];
                 bounds = [newActiveAnnotation bounds];
                 [transform translateXBy:NSMinX(bounds) yBy:NSMinY(bounds)];
                 [newPaths 
makeObjectsPerformSelector:@selector(transformUsingAffineTransform:) 
withObject:transform];
+                [paths addObjectsFromArray:newPaths];
+                [newPaths release];
                 
                 [self removeAnnotation:newActiveAnnotation];
                 newActiveAnnotation = [[[PDFAnnotationInk alloc] 
initSkimNoteWithPaths:paths] autorelease];
@@ -3024,7 +3025,6 @@
                 [[self undoManager] setActionName:NSLocalizedString(@"Join 
Notes", @"Undo action name")];
                 
                 [paths release];
-                [newPaths release];
                 [accessibilityChildren release];
                 accessibilityChildren = nil;
             }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to