Commit dcc14f49 authored by robcast's avatar robcast

fixed copy-paste bug in ImageJobDescription.getWy(). Thanks to Julien Lerouge for finding it.

parent 857c6026
...@@ -629,7 +629,7 @@ public class ImageJobDescription extends ParameterMap { ...@@ -629,7 +629,7 @@ public class ImageJobDescription extends ParameterMap {
if (hasOption("pxarea")) { if (hasOption("pxarea")) {
// area in absolute pixels - convert to relative // area in absolute pixels - convert to relative
ImageSize imgSize = getHiresSize(); ImageSize imgSize = getHiresSize();
paramWY = paramWY / imgSize.getWidth(); paramWY = paramWY / imgSize.getHeight();
} }
} }
return paramWY; return paramWY;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment