mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0030708: Modeling Data - Exception is raised while initializing TopoDS_Iterator with null shape
Added protection from null shapes to TopoDS_Iterator::Initialize method.
This commit is contained in:
8
tests/bugs/moddata_3/bug30708_1
Normal file
8
tests/bugs/moddata_3/bug30708_1
Normal file
@@ -0,0 +1,8 @@
|
||||
puts "================"
|
||||
puts "0030708: Modeling Data - Crash while initializing TopoDS_Iterator with null shape"
|
||||
puts "================"
|
||||
puts ""
|
||||
|
||||
if { [regexp "Cannot initialize" [OCC30708_1]]} {
|
||||
puts "Error: Cannot initialize TopoDS_Iterator with null shape"
|
||||
}
|
8
tests/bugs/moddata_3/bug30708_2
Normal file
8
tests/bugs/moddata_3/bug30708_2
Normal file
@@ -0,0 +1,8 @@
|
||||
puts "================"
|
||||
puts "0030708: Modeling Data - Crash while initializing TopoDS_Iterator with null shape"
|
||||
puts "================"
|
||||
puts ""
|
||||
|
||||
if { [regexp "Cannot initialize" [OCC30708_2]]} {
|
||||
puts "Error: Cannot initialize BRepLib_MakeWire with null wire"
|
||||
}
|
Reference in New Issue
Block a user