fabien servant
69ea5b88d2
[qt6][Viewer3D] Fix mouse camera controller
2024-11-14 10:03:44 +01:00
Candice Bentéjac
5a0b1c0c95
[qt6][qml] Clean-up code and harmonize comments
2024-11-07 18:15:37 +01:00
Candice Bentéjac
3ff279d99a
[qt6] Use JS functions format to declare explicit parameters in slots
2024-11-07 18:09:10 +01:00
Candice Bentéjac
0e71f2a520
[qt6] Update versions for all the imported modules
...
Qt3D.Extras cannot be updated to 2.6 yet, otherwise there are errors.
2024-11-07 18:09:01 +01:00
Candice Bentéjac
6d845376eb
[qt6] Use JS functions format to declare explicit parameters in slots
...
This fixes all the "Injection of parameters into signal handlers
is deprecated. Use JavaScript functions with formal parameters instead."
warnings.
2024-11-07 18:08:59 +01:00
Elyas Benyamina
83926e23b2
Fix the problem that blocked the 3D Viewer and forced us to reload it when zooming too much.
2024-05-03 15:06:07 +02:00
Candice Bentéjac
9d2974d282
[Viewer3D] Clean-up: Harmonize syntax across all the files
2023-11-06 16:28:20 +01:00
Candice Bentéjac
091346cbb8
[qml] Optimize QML files and fix syntax warnings
...
This commit addresses warnings that were raised by QtCreator's linter:
- IDs declared more than once
- variables declared more than once in the same scope
- type coercions
- variables declared as "var" when their type is known
- unclosed "case" in switch-case
2023-07-04 12:04:14 +02:00
Candice Bentéjac
423de8ccfe
[qml] Qt5.15: Upgrade all Qt3D modules
2023-07-03 12:11:31 +02:00
Candice Bentéjac
9b5dd40b02
[qml] Qt5.15: Upgrade all QtQuick modules
2023-07-03 12:11:29 +02:00
Julien-Haudegond
cb306ffc7d
[ui] Viewer3D: DefaultCameraController - removing FrameAction
...
- Apply the same control handling as the TransformGizmo.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
f9d57cadff
[ui] Viewer3D: TransformGizmo - add reset transform option
...
- Right clicking on the gizmo allows to reset the specific transformation.
2020-08-13 14:22:19 +02:00
Julien-Haudegond
85ebbba14f
[ui] Viewer3D: TransformGizmo - drawing gizmo on top of the object
...
- Special entity acting as an object container: we can add the entities we want to control with a gizmo inside it.
- Drawing the gizmo always on top of the object to make sure to see it every time.
2020-08-13 14:22:19 +02:00
Yann Lanthony
6e47235c9c
[ui] Viewer3D: don't display contextual menu on alt+right-click zoom
...
Only prompt right-click contextual menu when it was not used to zoom in the 3D view.
2019-09-10 19:37:54 +02:00
Yann Lanthony
9bd53c7c89
[ui] CameraController: check KeyboardHandler status for all actions with modifiers
2019-02-07 18:24:52 +01:00
Yann Lanthony
829aa24a4a
[ui] CameraController: avoid allocating new objects on bindings
...
Change existing objects values instead of re-creating point/size objects, on bindings that can be evaluated very often.
2019-02-07 18:14:16 +01:00
Yann Lanthony
b2e1743a6f
[ui] Viewer3D: move TrackballController code to Python side
...
Port JS trackball camera controller code to Python for improved performance and stability.
2018-12-11 16:54:26 +01:00
Yann Lanthony
87d5a62846
[ui] Viewer3D: new Trackball camera manipulator
2018-12-10 15:13:27 +01:00
Yann Lanthony
f6365c5607
[ui] Viewer3D: fix wrong keyboard modifier state
...
Keyboard Actions are never deactivated when focus is lost, leading to picking being enabled on a single click when Control was pressed in the 3D viewer and focus was lost to another Item.
* keep track of focus loss inside the DefaultCameraController
* use it to disable picking while Keyboard has not been pressed back in the 3D viewer
* do the same for 'moving' state with Alt modifier
2018-12-07 15:54:46 +01:00
Yann Lanthony
7415c1d391
[ui] split 2D and 3D viewers into separate modules
...
+ remove historical MayaCameraController
2018-11-23 14:26:57 +01:00