Fixed default values for grainline formulas

--HG--
branch : feature
This commit is contained in:
BojanKverh 2016-10-23 21:51:22 +02:00
parent 1f67e327c4
commit ddb040901b

View file

@ -734,7 +734,7 @@ void VPattern::ParseDetailElement(const QDomElement &domElement, const Document
catch (VExceptionEmptyParameter eep)
{
Q_UNUSED(eep);
detail.GetGrainlineGeometry().SetLength("");
detail.GetGrainlineGeometry().SetLength("0");
}
try
@ -745,7 +745,7 @@ void VPattern::ParseDetailElement(const QDomElement &domElement, const Document
catch(VExceptionEmptyParameter eep)
{
Q_UNUSED(eep);
detail.GetGrainlineGeometry().SetRotation("");
detail.GetGrainlineGeometry().SetRotation("90");
}
}
}