diff --git a/ApplicationLibCode/ReservoirDataModel/RigFaultReactivationModelGenerator.cpp b/ApplicationLibCode/ReservoirDataModel/RigFaultReactivationModelGenerator.cpp index 3f7142df90..55740bb665 100644 --- a/ApplicationLibCode/ReservoirDataModel/RigFaultReactivationModelGenerator.cpp +++ b/ApplicationLibCode/ReservoirDataModel/RigFaultReactivationModelGenerator.cpp @@ -154,6 +154,8 @@ void RigFaultReactivationModelGenerator::setupLocalCoordinateTransform() { auto [xNormal, yNormal] = modelLocalNormalsXY(); + yNormal = -1.0 * yNormal; + m_localCoordTransform = cvf::Mat4d::fromCoordSystemAxes( &xNormal, &yNormal, &cvf::Vec3d::Z_AXIS ); cvf::Vec3d center = m_startPosition * -1.0; center.z() = 0.0;