1
0
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:
gka
2017-05-29 18:42:55 +03:00
committed by bugmaster
parent 6ae0790866
commit b80d766ab9
2 changed files with 22 additions and 2 deletions

17
tests/bugs/step/bug28797 Normal file
View 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