OSDN Git Service

Please enter the commit message for your changes. Lines starting v2.3.79p0330
authorTakuo Yasunaga <yasunaga@bio.kyutech.jp>
Tue, 26 Oct 2021 22:33:36 +0000 (07:33 +0900)
committerTakuo Yasunaga <yasunaga@bio.kyutech.jp>
Tue, 26 Oct 2021 22:33:36 +0000 (07:33 +0900)
 with '#' will be ignored, and an empty message aborts the commit.

 On branch master
 Your branch is up to date with 'origin/master'.

 Changes to be committed:
modified:   src/Tools/filter/tiff2mrc/src/tiff2mrc.c

 Changes not staged for commit:
modified:   include/eosMATH.h

src/Tools/filter/tiff2mrc/src/tiff2mrc.c

index 97167ec..bdb7074 100755 (executable)
@@ -683,6 +683,9 @@ ltiff2mrc(mrcImage* mrc, TIFF* tiff, ltiff2mrcInfo* linfo, long mode)
                mrcImageParaTypeIntegerCoord S;
 
                S.z = S.x = S.y = linfo->Shrink;
+        if(mrc->HeaderN.z==1) {
+            linfo->Shrink = 1;
+        }
                //S.z = 1;      
                lmrcImageShrink(&shrink, mrc, S, 0);