mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
0023038: QA command OCC361 gives an exception
This commit is contained in:
parent
498ce5771b
commit
f11b9af464
@ -502,9 +502,11 @@ static Standard_Integer OCC361bug (Draw_Interpretor& di, Standard_Integer nb, co
|
|||||||
TopoDS_Shape aTBox1 = aTBox;
|
TopoDS_Shape aTBox1 = aTBox;
|
||||||
aTBox1.Orientation(TopAbs_REVERSED);
|
aTBox1.Orientation(TopAbs_REVERSED);
|
||||||
aTestLabel.ForgetAllAttributes();
|
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) {
|
if(aTBox.Orientation() != TopAbs_REVERSED) {
|
||||||
di << "1" << "\n";
|
di << "1" << "\n";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user