From d4739ba3b0502fb1eada44b658cc1d774a0c22ae Mon Sep 17 00:00:00 2001 From: toloudis Date: Fri, 22 Mar 2024 16:36:04 -0700 Subject: [PATCH] restore reader code change --- _aicspylibczi/Reader.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/_aicspylibczi/Reader.cpp b/_aicspylibczi/Reader.cpp index ce56d1c1..73aae63c 100644 --- a/_aicspylibczi/Reader.cpp +++ b/_aicspylibczi/Reader.cpp @@ -516,10 +516,7 @@ Reader::tileBoundingBoxesWith(SubblockSortable& subblocksToFind_) auto extractor = [&](const SubblockIndexVec::value_type& match_) { auto subblk = m_czireader->ReadSubBlock(match_.second); auto sbkInfo = subblk->GetSubBlockInfo(); - libCZI::IntRect sbkRect = sbkInfo.logicalRect; - sbkRect.w = sbkInfo.physicalSize.w; - sbkRect.h = sbkInfo.physicalSize.h; - return TileBBoxMap::value_type(match_.first, sbkRect); + return TileBBoxMap::value_type(match_.first, sbkInfo.logicalRect); }; transform(matches.begin(), matches.end(), std::inserter(ans, ans.end()), extractor);