oox/source/drawingml/scene3dhelper.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit aa341e79ee241fec0b5afe159b0c674cf85a52c0
Author:     Regina Henschel <rb.hensc...@t-online.de>
AuthorDate: Mon Mar 18 19:52:02 2024 +0100
Commit:     Regina Henschel <rb.hensc...@t-online.de>
CommitDate: Tue Mar 19 12:13:19 2024 +0100

    extruded shape import: tweak threePt light rig too
    
    This is an addition to commit 98b06ed3. The light rig 'threePt' has the
    same problem that with only two lights the shapes are too dark.
    I simply overlooked this rig.
    
    Change-Id: Ib71088f24245da912cf0886e75841ffd6cec786f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164975
    Tested-by: Jenkins
    Reviewed-by: Regina Henschel <rb.hensc...@t-online.de>

diff --git a/oox/source/drawingml/scene3dhelper.cxx 
b/oox/source/drawingml/scene3dhelper.cxx
index cfea2e93613b..d2b03ae97485 100644
--- a/oox/source/drawingml/scene3dhelper.cxx
+++ b/oox/source/drawingml/scene3dhelper.cxx
@@ -837,10 +837,10 @@ void lcl_tweakLightRig(std::vector<basegfx::B3DVector>& 
rLightDirVec, PrstLightR
         rLightRig.fAmbient = 0.35; // instead 0.11 resp. 0.13
     }
     else if (rLightRig.sLightRigName == u"freezing" || rLightRig.sLightRigName 
== u"morning"
-             || rLightRig.sLightRigName == u"sunrise")
+             || rLightRig.sLightRigName == u"sunrise" || 
rLightRig.sLightRigName == u"threePt")
     {
-        // These rigs have no ambient color but four lights. The objects are 
too dark with only
-        // two lights.
+        // These rigs have no ambient color but three or four lights. The 
objects are too dark with
+        // only two lights.
         rLightRig.fAmbient = 0.4;
     }
     else if (rLightRig.sLightRigName == u"sunset")

Reply via email to