From e2a4d82713e59e1b438ba45c412d9cedb6402e64 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 8 Nov 2019 12:58:13 +0200 Subject: [PATCH] QmlDesigner: Fix 3D edit view light The default point light is very dim as it has quadratic fade. Explicitly set fades to zero to make sure edit light is always bright. Change-Id: I67e3ba0905c2d907d660320c1510556fb3ea5de3 Reviewed-by: Thomas Hartmann Reviewed-by: Mahmoud Badri --- share/qtcreator/qml/qmlpuppet/mockfiles/EditView3D.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/qml/qmlpuppet/mockfiles/EditView3D.qml b/share/qtcreator/qml/qmlpuppet/mockfiles/EditView3D.qml index 88cee4535d0..cb6bdf5a11d 100644 --- a/share/qtcreator/qml/qmlpuppet/mockfiles/EditView3D.qml +++ b/share/qtcreator/qml/qmlpuppet/mockfiles/EditView3D.qml @@ -171,10 +171,12 @@ Window { } PointLight { - id: pointLight + id: editLight visible: showEditLight position: usePerspective ? editPerspectiveCamera.position : editOrthoCamera.position + quadraticFade: 0 + linearFade: 0 } PerspectiveCamera {