Skip to content

Commit

Permalink
Merge branch 'dev/forceCompositingLevels' of github.com:alicevision/A…
Browse files Browse the repository at this point in the history
…liceVision into dev/forceCompositingLevels
  • Loading branch information
servantftechnicolor committed Mar 9, 2023
2 parents 0a3162c + 0647b42 commit 4b7a06f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/software/pipeline/main_panoramaCompositing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ std::unique_ptr<PanoramaMap> buildMap(const sfmData::SfMData& sfmData, const std
}
}

ALICEVISION_LOG_INFO("Estimated levels count : " << min_scale);
ALICEVISION_LOG_INFO("Estimated pyramid levels count: " << min_scale);

if (forceMinPyramidLevels > 0)
if (forceMinPyramidLevels > min_scale)
{
min_scale = std::max(forceMinPyramidLevels, min_scale);
ALICEVISION_LOG_INFO("Forced levels count : " << min_scale);
min_scale = forceMinPyramidLevels;
ALICEVISION_LOG_INFO("Forced pyramid levels count: " << min_scale);
}

std::unique_ptr<PanoramaMap> ret(new PanoramaMap(panoramaSize.first, panoramaSize.second, min_scale, borderSize));
Expand Down

0 comments on commit 4b7a06f

Please sign in to comment.