X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FQABugs%2FQABugs_1.cxx;h=3f5101ef560750cc06b3f1975676bd429b5a812e;hp=586f977d54315f2076dcc6597a4c84cbd2fa6271;hb=f11b9af46422d851e027c75c2a3e57a65c1d6390;hpb=498ce5771b89073a248e65d7c6a0efe2f7fb610e diff --git a/src/QABugs/QABugs_1.cxx b/src/QABugs/QABugs_1.cxx index 586f977d54..3f5101ef56 100644 --- a/src/QABugs/QABugs_1.cxx +++ b/src/QABugs/QABugs_1.cxx @@ -502,9 +502,11 @@ static Standard_Integer OCC361bug (Draw_Interpretor& di, Standard_Integer nb, co TopoDS_Shape aTBox1 = aTBox; aTBox1.Orientation(TopAbs_REVERSED); aTestLabel.ForgetAllAttributes(); - aBuilder.Generated( aTBox1); - aTBox = aBuilder.NamedShape()->Get(); + TNaming_Builder aBuilder2(aTestLabel); + aBuilder2.Generated( aTBox1); + + aTBox = aBuilder2.NamedShape()->Get(); if(aTBox.Orientation() != TopAbs_REVERSED) { di << "1" << "\n"; } else {