From 3409130c9c2a4ad6b6778bce75671da96ece34d9 Mon Sep 17 00:00:00 2001 From: Stephan Saalfeld Date: Fri, 11 Jan 2013 02:21:47 +0100 Subject: [PATCH] Fixed bug in Patch.getFullCoordinateTransform that did not compensate for bounding box translation any more --- TrakEM2_/src/main/java/ini/trakem2/display/Patch.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TrakEM2_/src/main/java/ini/trakem2/display/Patch.java b/TrakEM2_/src/main/java/ini/trakem2/display/Patch.java index 3ed60c47..d8e271bf 100644 --- a/TrakEM2_/src/main/java/ini/trakem2/display/Patch.java +++ b/TrakEM2_/src/main/java/ini/trakem2/display/Patch.java @@ -1401,7 +1401,7 @@ public final class Patch extends Displayable implements ImageData { final AffineTransform at2 = new AffineTransform( at ); at2.translate( -box.x, -box.y ); final AffineModel2D affine = new AffineModel2D(); - affine.set( at ); + affine.set( at2 ); final CoordinateTransformList< CoordinateTransform > ctl = new CoordinateTransformList< CoordinateTransform >(); ctl.add( ctp ); -- 2.11.4.GIT