From 525572fcd013cc16bb454e445dc99c8fdcb491b3 Mon Sep 17 00:00:00 2001 From: Louise Poubel Date: Mon, 29 Nov 2021 08:55:15 -0800 Subject: [PATCH] Increase maximum values in ViewAngle widget (#1221) Signed-off-by: Louise Poubel --- src/gui/plugins/view_angle/ViewAngle.qml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gui/plugins/view_angle/ViewAngle.qml b/src/gui/plugins/view_angle/ViewAngle.qml index 9f7213f488..bdf494d73c 100644 --- a/src/gui/plugins/view_angle/ViewAngle.qml +++ b/src/gui/plugins/view_angle/ViewAngle.qml @@ -233,8 +233,8 @@ ColumnLayout { Layout.row: 0 Layout.column: 1 value: ViewAngle.camPose[0] - maximumValue: 1000000 - minimumValue: -1000000 + maximumValue: Number.MAX_VALUE + minimumValue: -Number.MAX_VALUE decimals: 6 stepSize: 0.01 onEditingFinished: ViewAngle.SetCamPose(x.value, y.value, z.value, roll.value, pitch.value, yaw.value) @@ -252,8 +252,8 @@ ColumnLayout { Layout.row: 1 Layout.column: 1 value: ViewAngle.camPose[1] - maximumValue: 1000000 - minimumValue: -1000000 + maximumValue: Number.MAX_VALUE + minimumValue: -Number.MAX_VALUE decimals: 6 stepSize: 0.01 onEditingFinished: ViewAngle.SetCamPose(x.value, y.value, z.value, roll.value, pitch.value, yaw.value) @@ -271,8 +271,8 @@ ColumnLayout { Layout.row: 2 Layout.column: 1 value: ViewAngle.camPose[2] - maximumValue: 1000000 - minimumValue: -1000000 + maximumValue: Number.MAX_VALUE + minimumValue: -Number.MAX_VALUE decimals: 6 stepSize: 0.01 onEditingFinished: ViewAngle.SetCamPose(x.value, y.value, z.value, roll.value, pitch.value, yaw.value) @@ -383,7 +383,7 @@ ColumnLayout { Layout.row: 0 Layout.column: 3 value: ViewAngle.camClipDist[1] - maximumValue: 1000000 + maximumValue: Number.MAX_VALUE minimumValue: nearClip.value decimals: 6 stepSize: 0.01