From 6cb968fd6fcb9ee08ad60191aa0bedf6cdd6ea9a Mon Sep 17 00:00:00 2001 From: vro Date: Wed, 29 Dec 2021 11:00:06 +0300 Subject: [PATCH] 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 --- src/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx b/src/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx index 7545449f31..844cdec736 100644 --- a/src/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx +++ b/src/XmlMNaming/XmlMNaming_NamedShapeDriver.cxx @@ -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; }