#2665 Fix draw plane position error with changed width

This commit is contained in:
Jacob Støren 2018-04-05 14:17:39 +02:00
parent 584c1084c0
commit 436420b648

View File

@ -185,7 +185,7 @@ double Riv3dWellLogPlanePartMgr::wellPathCenterToPlotStartOffset(Rim3dWellLogCur
}
else
{
return -cellSize * 2;
return -0.5*planeWidth();
}
}
@ -198,7 +198,7 @@ double Riv3dWellLogPlanePartMgr::planeWidth() const
double cellSize = m_gridView->ownerCase()->characteristicCellSize();
return cellSize * 4;
return cellSize * 1.0;
}
//--------------------------------------------------------------------------------------------------