Skip to content

Commit

Permalink
Workaround on an oiio link error with MSVC 2015
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiencastan committed Jul 17, 2020
1 parent 6eb089d commit e306d5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/software/pipeline/main_panoramaWarping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1428,10 +1428,10 @@ int aliceVision_main(int argc, char **argv)
oiio::ParamValueList metadata = image::readImageMetadata(imagePath);
const int offsetX = int(warper.getOffsetX());
const int offsetY = int(warper.getOffsetY());
metadata.emplace_back("AliceVision:offsetX", offsetX);
metadata.emplace_back("AliceVision:offsetY", offsetY);
metadata.emplace_back("AliceVision:panoramaWidth", panoramaSize.first);
metadata.emplace_back("AliceVision:panoramaHeight", panoramaSize.second);
metadata.push_back(oiio::ParamValue("AliceVision:offsetX", offsetX));
metadata.push_back(oiio::ParamValue("AliceVision:offsetY", offsetY));
metadata.push_back(oiio::ParamValue("AliceVision:panoramaWidth", panoramaSize.first));
metadata.push_back(oiio::ParamValue("AliceVision:panoramaHeight", panoramaSize.second));

{
const aliceVision::image::Image<image::RGBfColor> & cam = warper.getColor();
Expand Down

0 comments on commit e306d5e

Please sign in to comment.