Skip to content

Commit

Permalink
Replace $PWD in ALICEVISION_ROOT definition in continuous-integration…
Browse files Browse the repository at this point in the history
….yml
  • Loading branch information
demoulinv committed Sep 9, 2022
1 parent 38366cc commit cb3c321
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
DEPS_INSTALL_DIR: /opt/AliceVision_install
BUILD_TYPE: Release
CTEST_OUTPUT_ON_FAILURE: 1
ALICEVISION_ROOT: $PWD/../AV_install
ALICEVISION_ROOT: ${{ github.workspace }}/../AV_install
steps:
- uses: actions/checkout@v1

Expand Down
4 changes: 2 additions & 2 deletions src/aliceVision/image/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,12 +784,12 @@ bool tryLoadMask(Image<unsigned char>* mask, const std::vector<std::string>& mas

if (fs::exists(idMaskPath))
{
readImage(idMaskPath.string(), *mask, EImageColorSpace::LINEAR);
readImage(idMaskPath.string(), *mask, EImageColorSpace::SRGB_LINEAR);
return true;
}
else if (fs::exists(nameMaskPath))
{
readImage(nameMaskPath.string(), *mask, EImageColorSpace::LINEAR);
readImage(nameMaskPath.string(), *mask, EImageColorSpace::SRGB_LINEAR);
return true;
}
}
Expand Down
Binary file modified src/aliceVision/sfmDataIO/compatibilityData/scene_v1.2.3.abc
Binary file not shown.

0 comments on commit cb3c321

Please sign in to comment.