mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 01:58:22 +08: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
|