#1
|
|||
|
|||
hd in Vizard3.0
Hello. When I run my old code from Vizard 2.5 using the hd with just
these simple lines: import hd box = viz.add('box.wrl') hd.add(box) The program crashes, with the error: ** ERROR: Failed to load plug-in: 'hd2.dlm' Loading File: box_textured.wrl Traceback (most recent call last): File "<string>", line 11, in ? File "test.py", line 22, in ? ** Load Time: 0.73 seconds Scaling image 'beige.jpg' from (120,120) to (128,128) hd.add(box) File "C:\Program Files\WorldViz\Vizard30\python\hd.py", line 244, in add node._hapticID_ = _hd_.get()[0] IndexError: list index out of range" Now I can solve the problem by simply copying and pasting the hd.py from the python folder in Vizard2.5 into the python folder in Vizard3.0. Is this an error in the hd file? Should it be replaced? Thanks! Maria |
|
|