CR23684: TCollection_HExtendedString::String() returns a copy instead of const reference
[occt.git] / tests / bugs / vis / bug137_5
CommitLineData
746bb46a 1puts "TODO ?OCC12345 ALL: Error : Colors are not equal in default coordinate and in the near coordinates too"
2
e54706ed 3puts "========================"
4puts "OCC137"
5puts "========================"
6###############################################################
7#Patch description:
8#
9#MIT010717 : 3D selection management
10#>>> MIT010717 : Selection management
11#
12# * Package OpenGl (OpenGl_execstruct.c)
13#
14# @ Avoid drawing quality problem on selected face,
15# enable/disable Z offset on highlighted faces.
16#
17#>>> MIT010717 : drawing management
18#
19# * Package OpenGl (OpenGl_indexpolygon.c, ...)
20#
21# @ Avoid to undraw faces with confused points
22###############################################################
23puts "========================"
24
25vinit
26box b 10 10 10
27vdisplay b
28vfit
29vsetdispmode 1
30
31puts "Only bottom face should be highlighted."
32
33OCC137 1
34OCC137_z
35
36vselmode 4 1
37
38set x_coord 105
39set y_coord 350
40
41QAMoveTo $x_coord $y_coord
42QAMoveTo $x_coord $y_coord
43QAUpdateLights
44
45set x_coord 105
46set y_coord 340
47
48checkcolor $x_coord $y_coord 0 1 1
49
50QASetViewCharac 60.6309 7.07107 4.08248 0.592163 -0.60038 -0.537482 0.369921 -0.390032 0.843228 -3.28175 3.38875 3.0464
51set x_coord 105
52set y_coord 340
53
54checkcolor $x_coord $y_coord 0.78 0.54 0.09
55
56set only_screen 1