mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Fixed setting the position of rotated objects using the properties pane.
This commit is contained in:
parent
acfa6784a7
commit
b6d0495a55
1 changed files with 4 additions and 4 deletions
|
@ -559,7 +559,7 @@ void lcQPropertiesTree::slotReturnPressed()
|
|||
|
||||
lcVector3 Distance = Position - Center;
|
||||
|
||||
Model->MoveSelectedObjects(Distance, Distance, true, false, true, true);
|
||||
Model->MoveSelectedObjects(Distance, Distance, false, false, true, true);
|
||||
}
|
||||
else if (Item == partRotationX || Item == partRotationY || Item == partRotationZ)
|
||||
{
|
||||
|
@ -615,7 +615,7 @@ void lcQPropertiesTree::slotReturnPressed()
|
|||
|
||||
lcVector3 Distance = Position - Center;
|
||||
|
||||
Model->MoveSelectedObjects(Distance, Distance, true, false, true, true);
|
||||
Model->MoveSelectedObjects(Distance, Distance, false, false, true, true);
|
||||
}
|
||||
else if (Item == cameraTargetX || Item == cameraTargetY || Item == cameraTargetZ)
|
||||
{
|
||||
|
@ -632,7 +632,7 @@ void lcQPropertiesTree::slotReturnPressed()
|
|||
|
||||
lcVector3 Distance = Position - Center;
|
||||
|
||||
Model->MoveSelectedObjects(Distance, Distance, true, false, true, true);
|
||||
Model->MoveSelectedObjects(Distance, Distance, false, false, true, true);
|
||||
}
|
||||
else if (Item == cameraUpX || Item == cameraUpY || Item == cameraUpZ)
|
||||
{
|
||||
|
@ -649,7 +649,7 @@ void lcQPropertiesTree::slotReturnPressed()
|
|||
|
||||
lcVector3 Distance = Position - Center;
|
||||
|
||||
Model->MoveSelectedObjects(Distance, Distance, true, false, true, true);
|
||||
Model->MoveSelectedObjects(Distance, Distance, false, false, true, true);
|
||||
}
|
||||
else if (Item == cameraFOV)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue