mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-12 02:40:22 +08:00
- misprint in check of global selection existence in AIS_InteractiveContext::SetSelected was corrected; - remaining occurrencies of hard-coded 0 selection mode were corrected to use global selection mode; - test case for issue #27983
18 lines
500 B
Plaintext
18 lines
500 B
Plaintext
puts "==========="
|
|
puts "OCC27893"
|
|
puts "==========="
|
|
puts ""
|
|
##########################################################################
|
|
# Visualization - AIS_InteractiveContext::SetSelected does not work
|
|
##########################################################################
|
|
|
|
pload VISUALIZATION QAcommands
|
|
|
|
vinit
|
|
OCC27893
|
|
vfit
|
|
|
|
if {[vnbselected] != "1" || [vreadpixel 204 254 name] != "GRAY80 1"} {
|
|
puts "ERROR: The box is not selected, AIS_InteractiveContext::SetSelected works incorrect"
|
|
}
|