oox/source/drawingml/scene3dhelper.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 9556504b213519e2900e72c81aa26a470dc6353c Author: Regina Henschel <rb.hensc...@t-online.de> AuthorDate: Fri Mar 22 00:52:25 2024 +0100 Commit: Regina Henschel <rb.hensc...@t-online.de> CommitDate: Fri Mar 22 10:21:32 2024 +0100 Revert "extruded shape import: tweak threePt light rig too" This reverts commit aa341e79ee241fec0b5afe159b0c674cf85a52c0. Reason for revert: The front faces become too light. A similar front face is more important than lighter extrusion faces. Change-Id: I7e58d19b7e6264358d46f172f23bbfea74936250 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165121 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 cb0a85eb7ed0..acddea7643c4 100644 --- a/oox/source/drawingml/scene3dhelper.cxx +++ b/oox/source/drawingml/scene3dhelper.cxx @@ -840,10 +840,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"threePt") + || rLightRig.sLightRigName == u"sunrise") { - // These rigs have no ambient color but three or four lights. The objects are too dark with - // only two lights. + // These rigs have no ambient color but four lights. The objects are too dark with only + // two lights. rLightRig.fAmbient = 0.4; } else if (rLightRig.sLightRigName == u"sunset")