0022785: Draw Harness - add possibility to remove a text drawn by the command vdrawtext
[occt.git] / tests / bugs / vis / bug26076
CommitLineData
b3c433fe 1puts "============"
2puts "CR26076"
3puts "============"
4puts ""
5
6##########################################################################################
7puts "Visualization - empty bounding box of a shape after closing local context"
8##########################################################################################
9
10pload VISUALIZATION MODELING
11
12vinit
13
14box b1 1 1 1
15box b2 4 5 6
16
17# display box b1 in global context
18vdisplay b1
19# display box b2 in local context only
20vdisplay -local b2
21
22vfit
23
24# display only box b1 by closing local context and erasing box b2
25vdonly b1
26
27vfit
28
29# check that selection works properly
30vmoveto 100 100
31checkcolor 205 205 0 1 1
32
33vdump ${imagedir}/${casename}.png