summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorRegina Henschel <rb.henschel@t-online.de>2024-03-18 19:52:02 +0100
committerRegina Henschel <rb.henschel@t-online.de>2024-03-19 12:13:19 +0100
commitaa341e79ee241fec0b5afe159b0c674cf85a52c0 (patch)
tree2fea6e0e8baa01f6b1daf881feccbad17df43d3e /oox
parent9b6fcd41a7b8f6f844a26e77bb6439caa9bc8e98 (diff)
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.henschel@t-online.de>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/scene3dhelper.cxx6
1 files changed, 3 insertions, 3 deletions
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")