summaryrefslogtreecommitdiff
path: root/chart2/source/view/diagram
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2003-11-17 16:58:24 +0000
committerIngrid Halama <iha@openoffice.org>2003-11-17 16:58:24 +0000
commit0bd7805d476ddc3b6b6a1ac0f6a13560e987e34d (patch)
tree288a4291777d2f02a92d1912c5a6bb9428219562 /chart2/source/view/diagram
parent9af92e080d2a8311f068bd73a55f12e8a7c05fed (diff)
set D3DSceneTwoSidedLighting to true for correct 3D linechart display
Diffstat (limited to 'chart2/source/view/diagram')
-rw-r--r--chart2/source/view/diagram/VDiagram.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/chart2/source/view/diagram/VDiagram.cxx b/chart2/source/view/diagram/VDiagram.cxx
index c9ed62c7cd40..1bcb8e1f946c 100644
--- a/chart2/source/view/diagram/VDiagram.cxx
+++ b/chart2/source/view/diagram/VDiagram.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VDiagram.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: iha $ $Date: 2003-11-13 10:02:02 $
+ * last change: $Author: iha $ $Date: 2003-11-17 17:58:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -268,6 +268,11 @@ void VDiagram::createShapes_3d( const awt::Point& rPos, const awt::Size& rSize )
xProp->setPropertyValue( C2U( UNO_NAME_3D_SCENE_SHADE_MODE ), uno::makeAny(drawing::ShadeMode_PHONG) ); //FLAT, PHONG, SMOOTH, DRAFT
+ //D3DSceneTwoSidedLighting
+ xProp->setPropertyValue( C2U( UNO_NAME_3D_SCENE_TWO_SIDED_LIGHTING )
+ , uno::makeAny( (sal_Bool)true) );
+
+
//UNO_NAME_3D_SCENE_DISTANCE D3DSceneDistance sal_Int32
//UNO_NAME_3D_SCENE_FOCAL_LENGTH sal_Int32
//UNO_NAME_3D_SCENE_PERSPECTIVE drawing::ProjectionMode