x3dom / apps-modeling

Publicly Available Applications
Other
3 stars 3 forks source link

Fix rotation / scale button issue after primitive picking #71

Closed mlimper closed 10 years ago

mlimper commented 11 years ago

A current problem is that picking an object automatically leads to translation, since the move callback is also invoked (which always uses translation).

However, buttons are not properly adapted when the handling mode is changed. (It would probably be the best to introduce a "setHandlingMode" function which automatically adapts the button highlighting.)

As a consequence, one often has the annoying problem that objects are accidentally translated if they should be rotated or scaled, just after picking an object.