forked from qt-creator/qt-creator
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 <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
@@ -171,10 +171,12 @@ Window {
|
||||
}
|
||||
|
||||
PointLight {
|
||||
id: pointLight
|
||||
id: editLight
|
||||
visible: showEditLight
|
||||
position: usePerspective ? editPerspectiveCamera.position
|
||||
: editOrthoCamera.position
|
||||
quadraticFade: 0
|
||||
linearFade: 0
|
||||
}
|
||||
|
||||
PerspectiveCamera {
|
||||
|
Reference in New Issue
Block a user