0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / vis / bug27821
CommitLineData
413b1c1a 1puts "========"
2puts "AIS_Shape - displaying TopoDS_Face with NULL surface (test case checks there is no crash)"
3puts "========"
4
5pload MODELING VISUALIZATION
6
7restore [locate_data_file bug27821_nullsurf.brep] s
8explode s F
9
c894a5fd 10# check that sprops and vprops do not crash on NULL surface
4d19a2c5 11sprops s
c894a5fd 12vprops s
4d19a2c5 13
14# check that AIS_Shape does not crash on NULL surface
413b1c1a 15vclear
16vinit View1
17vaxo
18vdisplay -noupdate -dispMode 0 s
19vaspects s -subshapes s_1 -setcolor RED
20vdisplay -noupdate -dispMode 1 s
0493ffd0 21vaspects s -unsetFaceBoundary
22vaspects s -setFaceBoundaryDraw 1 -setFaceBoundaryColor RED -setFaceBoundaryWidth 2
413b1c1a 23vfit
24vselect 250 250
25
26vdump $imagedir/${casename}.png