summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp')
-rw-r--r--src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp b/src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp
index 82678986..13413793 100644
--- a/src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp
+++ b/src/Authoring/Qt3DStudio/Render/StudioRendererTranslation.cpp
@@ -2167,6 +2167,7 @@ void STranslation::PreRender(bool scenePreviewPass)
CStudioPreferences::matteColor().greenF(),
CStudioPreferences::matteColor().blueF(), 1.0f);
m_Context.SetMatteColor(matteColor);
+ m_Context.setMatteEnabled(true);
// Ensure the camera points where it should
if (m_EditCameraEnabled && !scenePreviewPass) {
m_EditCameraInfo.ApplyToCamera(m_EditCamera, theViewportDims);