diff options
author | Tomi Korpipaa <tomi.korpipaa@qt.io> | 2018-03-08 07:57:49 +0200 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@qt.io> | 2018-03-08 09:51:29 +0000 |
commit | 8749d5d1188356910229340e211566e9d69d65d9 (patch) | |
tree | fad13d2b3ba2eb5aa49d8a1798f5c589221666fd /src/Authoring/Studio/Render/StudioRendererTranslation.h | |
parent | 3f449edd744db54764dd359185fa4a88d4fef19d (diff) |
Make 3D tool handles bigger
Replace x hardcoded values with just 2, that are centrally set in
StudioPreferences file. A follow-up task has been done to make these
values user-controllable from the preferences dialog.
At the same time, fix warnings from files touched.
Task-number: QT3DS-210
Change-Id: I8a9a01c94cd2ea4bbed7d8de7f6c74b08045bdde
Reviewed-by: Janne Kangas <janne.kangas@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Render/StudioRendererTranslation.h')
-rw-r--r-- | src/Authoring/Studio/Render/StudioRendererTranslation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Render/StudioRendererTranslation.h b/src/Authoring/Studio/Render/StudioRendererTranslation.h index 8ac17d39..8ebe7588 100644 --- a/src/Authoring/Studio/Render/StudioRendererTranslation.h +++ b/src/Authoring/Studio/Render/StudioRendererTranslation.h @@ -145,7 +145,7 @@ namespace studio { }; const QT3DSF32 g_EditCameraFOV = 45.0f; - const QT3DSF32 g_RotationScaleFactor = 2 * M_PI / 180.0f; + const QT3DSF32 g_RotationScaleFactor = 2.0f * M_PI / 180.0f; struct SEditCameraPersistentInformation { |