Skip to content

Commit

Permalink
fix a bug introduced by PR #225
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbike committed Sep 25, 2019
1 parent a8e985d commit fc8c109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/esp/assets/PTexMeshData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void PTexMeshData::load(const std::string& meshFile,

// Parse parameters
const auto& paramsFile = atlasFolder + "/parameters.json";
if (io::exists(paramsFile)) {
if (!io::exists(paramsFile)) {
Cr::Utility::Fatal{-1} << "PTexMeshData::load: The parameter file"
<< paramsFile << "does not exist.";
}
Expand Down

0 comments on commit fc8c109

Please sign in to comment.