1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00
occt/tests/v3d/manipulator/disable_parts
iko 84b904bc36 0030626: Visualization - manipulator crashes when is attached with scaling mode disabled
AIS_Manipulator crashes on SetPart method when 2 inputs (AIS_ManipulatorMode, Standard_Boolean) has been fixed up.
Test case for this bug has been added.
2019-04-03 19:05:38 +03:00

32 lines
658 B
Plaintext

puts "====================================="
puts "Disable functional parts for manipulator axes"
puts "====================================="
pload MODELING VISUALIZATION
vclear
vclose ALL
vinit View1
vaxo
vzbufftrihedron
box b 500 500 1 50 100 150
vdisplay b -dispMode 1
vfit
vmanipulator m -attach b -part 0 1 0
vdump $imagedir/${casename}_1.png
vmanipulator m -detach
vmanipulator m -attach b -part 0 2 0
vdump $imagedir/${casename}_2.png
vmanipulator m -detach
vmanipulator m -attach b -part 0 3 0
vdump $imagedir/${casename}_3.png
vmanipulator m -detach
vmanipulator m -attach b -parts 1 0
vdump $imagedir/${casename}_4.png
set to_dump_screen 0