mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Added protections in DRAW commands against accessing Null context Added test bugs demo bug31877
12 lines
410 B
Plaintext
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}
|