1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0023294: Identical sub-expression in 'if-clause'

Correcting probable copy-paste bug.
Test case offset shape_type_i D7 was modified
This commit is contained in:
Pawel Kowalski 2012-08-10 10:45:42 +04:00
parent f3fa1d3509
commit 72d873ef3a
2 changed files with 2 additions and 1 deletions

View File

@ -928,7 +928,7 @@ Standard_Boolean TestSubShapeType(const TopAbs_ShapeEnum theT1,
}
}
if((aT1==TopAbs_WIRE && aT2==TopAbs_SHELL) ||
(aT1==TopAbs_WIRE && aT2==TopAbs_SHELL)) {
(aT2==TopAbs_WIRE && aT1==TopAbs_SHELL)) {
if(!BOP_WireShell::CheckArgTypes(aT1,aT2,theOP)) {
return Standard_False;
}

View File

@ -1,5 +1,6 @@
puts "TODO OCC23068 Mandriva2010: Error: bsection of result and s is not equal zero"
puts "TODO OCC23068 Mandriva2010: Error : The volume of result shape "
puts "TODO ?OCC23068 Mandriva2010: Faulty shapes in variables faulty_1 to faulty_2"
ellipse w1 0 0 0 15 10
mkedge w1 w1 0 pi/2
trotate w1 0 0 0 1 0 0 90