mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user