mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
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
15 lines
413 B
Plaintext
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
|