pre-proto - Setting azimuth correctly when changing fracture template

This commit is contained in:
astridkbjorke 2017-02-20 15:39:48 +01:00
parent be49cb2766
commit c8460e874f

View File

@ -169,6 +169,7 @@ void RimFracture::fieldChangedByUi(const caf::PdmFieldHandle* changedField, cons
//TODO: Find out if performationLength should be in RimFractureTemplate or in RimEllipseFracTemplate
if (attachedFractureDefinition()) azimuth = m_fractureTemplate->azimuthAngle();
else azimuth = 0.0;
setAzimuth();
}
if (changedField == &azimuth ||