2 puts "AIS_Shape - displaying TopoDS_Face with NULL surface (test case checks there is no crash)"
5 pload MODELING VISUALIZATION
7 restore [locate_data_file bug27821_nullsurf.brep] s
10 # check that sprops and vprops do not crash on NULL surface
14 # check that AIS_Shape does not crash on NULL surface
18 vdisplay -noupdate -dispMode 0 s
19 vaspects s -subshapes s_1 -setcolor RED
20 vdisplay -noupdate -dispMode 1 s
21 vaspects s -unsetFaceBoundary
22 vaspects s -setFaceBoundaryDraw 1 -setFaceBoundaryColor RED -setFaceBoundaryWidth 2
26 vdump $imagedir/${casename}.png