mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Protection for null handle was added in the method RWStepVisual_RWPresentationStyleAssignment::ReadStep
18 lines
552 B
Plaintext
18 lines
552 B
Plaintext
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
|