mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0028797: Exceptrion is raised during reading attached STEP file.
Protection for null handle was added in the method RWStepVisual_RWPresentationStyleAssignment::ReadStep
This commit is contained in:
17
tests/bugs/step/bug28797
Normal file
17
tests/bugs/step/bug28797
Normal file
@@ -0,0 +1,17 @@
|
||||
puts "========"
|
||||
puts "OCC28797"
|
||||
puts "========"
|
||||
puts ""
|
||||
#########################################################################
|
||||
# Data Exchange - Exception is raised during reading attached STEP file
|
||||
#########################################################################
|
||||
|
||||
set aFile [locate_data_file bug28797_36x60.step]
|
||||
|
||||
if {[catch {stepread $aFile a *}]} {
|
||||
puts "ERROR: OCC28797 is reproduced. Exception was raised during reading initial file."
|
||||
} else {
|
||||
tpcompound result
|
||||
}
|
||||
|
||||
checkview -display result -2d -path ${imagedir}/${test_image}.png
|
Reference in New Issue
Block a user