My last post from yesterday will fix your problem. Notice how I changed the elif to if in the toggleLink function.
Also, you will want to call toggleLink whenever the mouse button is pressed, so replace vizact.onpick with vizact.onmousebutton.
__________________
Paul Elliott
WorldViz LLC
|