mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#2665 Fix draw plane position error with changed width
This commit is contained in:
@@ -185,7 +185,7 @@ double Riv3dWellLogPlanePartMgr::wellPathCenterToPlotStartOffset(Rim3dWellLogCur
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return -cellSize * 2;
|
return -0.5*planeWidth();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -198,7 +198,7 @@ double Riv3dWellLogPlanePartMgr::planeWidth() const
|
|||||||
|
|
||||||
double cellSize = m_gridView->ownerCase()->characteristicCellSize();
|
double cellSize = m_gridView->ownerCase()->characteristicCellSize();
|
||||||
|
|
||||||
return cellSize * 4;
|
return cellSize * 1.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user