summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximp3dscene.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2001-08-15 12:04:49 +0000
committerArmin Weiss <aw@openoffice.org>2001-08-15 12:04:49 +0000
commita7b0f5417bbaf620ea63d8a3d22fb1800de645ad (patch)
treec1a86aaffdfcfc733208db3b3e62ccde0a96ae86 /xmloff/source/draw/ximp3dscene.cxx
parent2d6df4cee77112a913f61f12c5c90ed76062ce68 (diff)
#91047# set drawing::ProjectionMode AFTER camera geometry is set
projection "D3DScenePerspective" drawing::ProjectionMode
Diffstat (limited to 'xmloff/source/draw/ximp3dscene.cxx')
-rw-r--r--xmloff/source/draw/ximp3dscene.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/xmloff/source/draw/ximp3dscene.cxx b/xmloff/source/draw/ximp3dscene.cxx
index b3a7178751fa..635a81b82380 100644
--- a/xmloff/source/draw/ximp3dscene.cxx
+++ b/xmloff/source/draw/ximp3dscene.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximp3dscene.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: cl $ $Date: 2001-08-15 10:32:09 $
+ * last change: $Author: aw $ $Date: 2001-08-15 13:04:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -402,10 +402,6 @@ void SdXML3DSceneAttributesHelper::setSceneAttributes( const com::sun::star::uno
xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DTransformMatrix")), aAny);
}
- // projection "D3DScenePerspective" drawing::ProjectionMode
- aAny <<= mxPrjMode;
- xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DScenePerspective")), aAny);
-
// distance
aAny <<= mnDistance;
xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DSceneDistance")), aAny);
@@ -524,4 +520,9 @@ void SdXML3DSceneAttributesHelper::setSceneAttributes( const com::sun::star::uno
aCamGeo.vup.DirectionZ = maVUP.Z();
aAny <<= aCamGeo;
xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DCameraGeometry")), aAny);
+
+ // #91047# set drawing::ProjectionMode AFTER camera geometry is set
+ // projection "D3DScenePerspective" drawing::ProjectionMode
+ aAny <<= mxPrjMode;
+ xPropSet->setPropertyValue(OUString(RTL_CONSTASCII_USTRINGPARAM("D3DScenePerspective")), aAny);
}