1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/bugs/demo/bug31877
abv f41fd243b6 0031877: DRAW - some Visualization commands are not protected against uninitialized viewer
Added protections in DRAW commands against accessing Null context

Added test bugs demo bug31877
2020-10-25 08:46:49 +03:00

12 lines
410 B
Plaintext

puts "# ======================================================================"
puts "# 0031877: DRAW - some Visualization commands are not protected against uninitialized viewer"
puts "# ======================================================================"
puts "REQUIRED 31877 ALL: Error: no active viewer"
pload VISUALIZATION
catch {vsetdispmode 1}
catch {vpickshapes}
catch {vsize}
catch {vplanetri a}