mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-05 12:21:59 +02:00
[ui] Viewer3D: TransformGizmo - ready to be set with absolute values
- Now, we can set the transformation with a position vector, Euler angles and a scale vector.
This commit is contained in:
parent
da765a5f98
commit
d0a78d96ab
4 changed files with 70 additions and 17 deletions
|
@ -15,6 +15,7 @@ ObjectPicker {
|
|||
property int gizmoType
|
||||
property point screenPoint
|
||||
property var modelMatrix
|
||||
property int button
|
||||
|
||||
signal pickedChanged(var picker)
|
||||
|
||||
|
@ -25,6 +26,7 @@ ObjectPicker {
|
|||
mouseController.objectPicker = this
|
||||
root.isPressed = true
|
||||
screenPoint = pick.position
|
||||
button = pick.button
|
||||
pickedChanged(this)
|
||||
}
|
||||
onEntered: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue