#3727 Give packers a more realistic default length

This commit is contained in:
Gaute Lindkvist
2018-11-22 14:06:03 +01:00
parent ae8cb9d210
commit a1b7e694a6
2 changed files with 4 additions and 4 deletions

View File

@@ -229,14 +229,14 @@ void RimWellPathAttribute::fieldChangedByUi(const caf::PdmFieldHandle* changedFi
}
else if (m_type() == RiaDefines::PACKER)
{
m_endMD = m_startMD + 50;
m_endMD = m_startMD + 2;
}
}
if (changedField == &m_startMD)
{
if (m_type() == RiaDefines::PACKER)
{
m_endMD = m_startMD + 50;
m_endMD = m_startMD + 2;
}
}