x3dom / apps-modeling

Publicly Available Applications
Other
3 stars 3 forks source link

rotation of primitives lost end replace to translation in mouse mode #110

Open chmouton opened 10 years ago

chmouton commented 10 years ago

When the "rotation" icon is selected, the rotation mode is replaced automatically in the "translation" mode : it isn't possible to rotate with the mouse the current selected primitive. It could be necessary to check if it's the same for the scaling mode

bug based on the current "component editor" published here : http://x3dom.org/editor/editor/component_editor/

yjung commented 10 years ago

Neither rotate nor scale via mouse interaction is implemented, therefore it switches back to translation.

mlimper commented 10 years ago

We could maybe try to switch back from translation mode to rotation / scale as soon as the user stops dragging the object around... what do you think?

yjung commented 10 years ago

Sounds good.

yjung commented 10 years ago

Or we try with the new Moveable modes: translation, rotation, all (for the latter, rotation is on middle button): https://github.com/x3dom/x3dom/commit/29e9a45e7829f31b6c517815ada3d9e89aa4f934#L1R19 But somehow in the editor this is buggy, though in the test file torus.html it works as expected, we have to check this...