Skip to content

Commit

Permalink
Boxes coordinate correction [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
bisnow33 committed Feb 17, 2021
1 parent fab46bb commit c827e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/gred/nucleus/autocrop/AutoCrop.java
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,10 @@ public void addCROP_parameter()throws Exception{
+ "_" + box.getZMin();

if (xmin <= 0)
xmin = 0;
xmin = 1;
if (ymin <= 0) { ymin = 1;}
if (zmin <= 0)
zmin = 0;
zmin = 1;
int width = box.getXMax()
+ (2 * this.m_autocropParameters.getxCropBoxSize())
- box.getXMin();
Expand Down

0 comments on commit c827e37

Please sign in to comment.