mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#884 Fixed change from z-coord to depth
This commit is contained in:
parent
d7a69bdae8
commit
465a28dfe9
@ -111,11 +111,11 @@ void RimIntersectionBox::setFromOriginAndSize(const cvf::Vec3d& origin, const cv
|
|||||||
{
|
{
|
||||||
m_minXCoord = origin.x();
|
m_minXCoord = origin.x();
|
||||||
m_minYCoord = origin.y();
|
m_minYCoord = origin.y();
|
||||||
m_minZCoord = origin.z();
|
m_minDepth = -(origin.z() + size.z());
|
||||||
|
|
||||||
m_maxXCoord = origin.x() + size.x();
|
m_maxXCoord = origin.x() + size.x();
|
||||||
m_maxYCoord = origin.y() + size.y();
|
m_maxYCoord = origin.y() + size.y();
|
||||||
m_maxZCoord = origin.z() + size.z();
|
m_maxDepth = -origin.z();
|
||||||
|
|
||||||
updateConnectedEditors();
|
updateConnectedEditors();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user