mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 11:06:26 +08: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
25 lines
549 B
Plaintext
Executable File
25 lines
549 B
Plaintext
Executable File
puts "================"
|
|
puts "OCC2066"
|
|
puts "================"
|
|
puts ""
|
|
#######################################################################################
|
|
# CRASH in AIS_InteractiveContext::PurgeViewer(const Handle(V3d_Viewer)& Vwr)
|
|
#######################################################################################
|
|
|
|
box b 10 10 10
|
|
box b2 20 20 20 10 10 10
|
|
vinit
|
|
vdisplay b b2
|
|
vfit
|
|
verase b
|
|
set CollectorToo 1
|
|
|
|
if [catch {vpurgedisplay $CollectorToo} result] {
|
|
puts "Faulty OCC2066"
|
|
} else {
|
|
puts "OK OCC2066"
|
|
}
|
|
|
|
set only_screen 1
|
|
|