A flag not to raise an exception is used on reading of an XCAF document. If such a shape with scaling transformation is stored in the document, it should be read.
TopAbs_Orientation anOrient = CharToOrientation (aCharOrient);
theResult.TShape (theShapeSet->Shape (aShapeID).TShape());//TShape
- theResult.Location (theShapeSet->Locations().Location (aLocID)); //Location
+ theResult.Location (theShapeSet->Locations().Location (aLocID), Standard_False); //Location
theResult.Orientation (anOrient);//Orientation
return 0;
}
--- /dev/null
+puts "==========="
+puts "0032784: BinXCAF fails to load documents containing the shapes with scaled/mirrored location"
+puts "==========="
+
+if [info exists D] {catch {Close D}}
+XOpen [locate_data_file bug32784_mirrored.xbf] D