Open chmouton opened 10 years ago
Neither rotate nor scale via mouse interaction is implemented, therefore it switches back to translation.
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?
Sounds good.
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...
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/