diff --git a/src/BinMNaming/BinMNaming_NamedShapeDriver.cxx b/src/BinMNaming/BinMNaming_NamedShapeDriver.cxx index 2d08ecff90..58ca775a5c 100644 --- a/src/BinMNaming/BinMNaming_NamedShapeDriver.cxx +++ b/src/BinMNaming/BinMNaming_NamedShapeDriver.cxx @@ -132,7 +132,7 @@ static int TranslateFrom (const BinObjMgt_Persistent& theSource, 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; } diff --git a/tests/bugs/xde/bug32784 b/tests/bugs/xde/bug32784 new file mode 100644 index 0000000000..5ad3ead49f --- /dev/null +++ b/tests/bugs/xde/bug32784 @@ -0,0 +1,6 @@ +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