1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0032757: Application Framework, scaling transformation - loading of an OCAF XML document fails

A flag not to raise an exception is used on reading of an OCAF document. If such a shape with scaling transformation is stored in the document, it should be read.

Modified files:
XmlMNaming\XmlMNaming_NamedShapeDriver.cxx: not checking of the type of transformation for a read shape
This commit is contained in:
vro 2021-12-29 11:00:06 +03:00 committed by smoskvin
parent e2a956a633
commit 6cb968fd6f

View File

@ -325,7 +325,7 @@ static int doTranslate (const XmlMNaming_Shape1& thePShape,
return 1;
theResult.TShape (theShapeSet.Shape(aShapeId).TShape());
theResult.Orientation (thePShape.Orientation());
theResult.Location (theShapeSet.Locations().Location (thePShape.LocId()));
theResult.Location (theShapeSet.Locations().Location (thePShape.LocId()), false);
return 0;
}