projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0029827: Modeling Data - TopoDS_Shape::Nullify() does not reset location
[occt.git]
/
src
/
BRepTest
/
BRepTest_BasicCommands.cxx
diff --git
a/src/BRepTest/BRepTest_BasicCommands.cxx
b/src/BRepTest/BRepTest_BasicCommands.cxx
index
d12d9da
..
6880175
100644
(file)
--- a/
src/BRepTest/BRepTest_BasicCommands.cxx
+++ b/
src/BRepTest/BRepTest_BasicCommands.cxx
@@
-1327,11
+1327,6
@@
static Standard_Integer compareshapes(Draw_Interpretor& di,
// get shapes
TopoDS_Shape aS1 = DBRep::Get(a[1]);
TopoDS_Shape aS2 = DBRep::Get(a[2]);
- // check shapes
- if (aS1.IsNull() || aS2.IsNull()) {
- di << "null shapes\n";
- return 0;
- }
// compare shapes
if (aS1.IsSame(aS2)) {
di << "same shapes\n";