1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/step/bug28147
kgv aff1875311 0028147: Data Exchange - NULL dereference while reading color from STEP file
StepVisual_StyledItem::Item() now does not call IsKind() on NULL object.
Add several checks for NULL to import/export.

Add test case bugs/step/bug28147
2016-11-23 15:54:55 +03:00

15 lines
413 B
Plaintext

puts "========="
puts "OCC28147"
puts "========="
puts ""
#######################################################################
# Data Exchange - NULL dereference while reading color from STEP file
#######################################################################
ReadStep D [locate_data_file bug28147_file1.stp]
XShow D
vfit
vsetdispmode 1
checkview -screenshot -3d -path ${imagedir}/${test_image}.png