diff --git a/ApplicationCode/FileInterface/RifSurfaceImporter.cpp b/ApplicationCode/FileInterface/RifSurfaceImporter.cpp index e5dbf03638..3784a1d8bf 100644 --- a/ApplicationCode/FileInterface/RifSurfaceImporter.cpp +++ b/ApplicationCode/FileInterface/RifSurfaceImporter.cpp @@ -436,6 +436,9 @@ std::pair, std::vector> if ( lineStream.good() ) values.push_back( d ); } + // Z should be given in negative values, switch sign if positive + if ( z > 0.0 ) z = -z; + // Add point surfacePoints.push_back( {x, y, z} );