diff options
author | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2018-08-29 16:37:29 +0300 |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@qt.io> | 2018-08-30 07:50:10 +0000 |
commit | c5fe4fbb585e626add3b73368ecadabd4aff13f7 (patch) | |
tree | d4c06bd5a0be4f9080fbd5ed69d210ab04d5f4e8 /src/Authoring/Studio/Render/StudioRendererTranslation.cpp | |
parent | 6e93581ba9af0b9f4e236abe4a42d7193d135c1f (diff) |
Fix miscellaneous settings issues
- Clearer values for timeline snap options
- Clearer tooltip for legacy viewer
- Removed edit view background color setting, it is no longer needed
with the gradient background
Task-number: QT3DS-2148
Change-Id: I7c4cebf49c339e7809023f0500116deff45e2f70
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'src/Authoring/Studio/Render/StudioRendererTranslation.cpp')
-rw-r--r-- | src/Authoring/Studio/Render/StudioRendererTranslation.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Authoring/Studio/Render/StudioRendererTranslation.cpp b/src/Authoring/Studio/Render/StudioRendererTranslation.cpp index 2ea61b61..4dc57ebe 100644 --- a/src/Authoring/Studio/Render/StudioRendererTranslation.cpp +++ b/src/Authoring/Studio/Render/StudioRendererTranslation.cpp @@ -2127,10 +2127,7 @@ void STranslation::PreRender(bool scenePreviewPass) m_Presentation.m_PresentationDimensions = theViewportDims; m_Context.SetPresentationDimensions( QSize((QT3DSU32)theViewportDims.x, (QT3DSU32)theViewportDims.y)); - ::CColor theEditCameraBackground = CStudioPreferences::GetEditViewBackgroundColor(); - m_Context.SetSceneColor(QT3DSVec4(theEditCameraBackground.GetRed() / 255.0f, - theEditCameraBackground.GetGreen() / 255.0f, - theEditCameraBackground.GetBlue() / 255.0f, 1.0f)); + m_Context.SetSceneColor(QT3DSVec4(0.0f, 0.0f, 0.0f, 1.0f)); } else { TIdentifier theRoot = m_AssetGraph.GetRoot(0); |