0025568: SIGSEGV in thrusections with edge without 3D curve
[occt.git] / tests / bugs / vis / bug24555
CommitLineData
6788f423 1puts "============"
2puts "OCC24555"
3puts "============"
4puts ""
5#######################################################################
6# Visualization - the same text is rendered with shift at second time
7#######################################################################
8
9vinit
10vclear
11vaxo
12vdrawtext "This program" 0 0 0 0 255 0 0 0 0 0 50 1 Arial
13
14vdrawtext "This program" 0 0 0 255 0 0 0 0 0 0 50 1 Arial
15
16set x 346
17set y 190
18
19set R 0
20set G 0.9843137264251709
21set B 0
22
23decho off
24set catch_status 0
25if { [catch {QAGetPixelColor $x $y $R $G $B} catch_result] } {
26 set catch_status 1
27}
28decho on
29
30if {${catch_status} == 0} {
31 puts "Error : color is bad"
32} else {
33 puts "OK : color is good"
34}
35
36set only_screen 1