mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-30 12:14:08 +03:00
Replaced QAMoveTo, QASelect and QAShiftSelect draw commands with vmoveto and vselect Moved vselect and vmoveto draw commands to ViewerTest_ViewerCommands.cxx Replaced QAMoveTo and QASelect in test cases. Corrected returned error case result in vselect and vmoveto. Added commands in ViewerTest_ViewerCommands from QADraw. Edited tests. QACommands in tests were replaced with ViewerTest commands. QAxwd command was removed from QADraw. Edited command wzoom and commands from ViewerTest. Help for ViewerTest commands was edited Small corrections. Added test cases for polygonal selection. Small correction of test cases
29 lines
484 B
Plaintext
Executable File
29 lines
484 B
Plaintext
Executable File
puts "==========="
|
|
puts "BUC60740"
|
|
puts "==========="
|
|
puts "=================================="
|
|
puts "It takes visual check for this BUG"
|
|
puts "=================================="
|
|
|
|
vinit
|
|
box b 0 0 0 10 10 10
|
|
pcylinder c 10 10
|
|
vdisplay b
|
|
vsetdispmode b 1
|
|
vdisplay c
|
|
vsetdispmode c 1
|
|
vfit
|
|
vsettransparency c 0.5
|
|
|
|
set x_coord 154
|
|
set y_coord 257
|
|
|
|
|
|
checkcolor $x_coord $y_coord 0.6 0.4 0.07
|
|
|
|
if {$stat != 1} {
|
|
puts "Error :function vsettransparency works WRONGLY"
|
|
}
|
|
|
|
set only_screen 1
|