mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +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:
parent
9735948819
commit
e5021ff47f
@ -325,7 +325,7 @@ static int doTranslate (const XmlMNaming_Shape1& thePShape,
|
|||||||
return 1;
|
return 1;
|
||||||
theResult.TShape (theShapeSet.Shape(aShapeId).TShape());
|
theResult.TShape (theShapeSet.Shape(aShapeId).TShape());
|
||||||
theResult.Orientation (thePShape.Orientation());
|
theResult.Orientation (thePShape.Orientation());
|
||||||
theResult.Location (theShapeSet.Locations().Location (thePShape.LocId()));
|
theResult.Location (theShapeSet.Locations().Location (thePShape.LocId()), false);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user