summaryrefslogtreecommitdiff
path: root/svx/source/engine3d
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2001-09-20 15:33:33 +0000
committerArmin Weiss <aw@openoffice.org>2001-09-20 15:33:33 +0000
commitb193bc872da5b1ce33164bbbd9b77d54b7da2095 (patch)
treeb6caed7b15bf5371edd57440ddb39640597d06a8 /svx/source/engine3d
parentef32fb1d80ff4422901b10d0acde73cf1f873000 (diff)
#92030# for E3dPolygonObj, take flag at created DisplayGeometry into account
which may not allow this object to be drawn filled
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r--svx/source/engine3d/obj3d.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index 32cd8b46e73a..97f0eee3be36 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: obj3d.cxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: mh $ $Date: 2001-07-31 11:56:47 $
+ * last change: $Author: aw $ $Date: 2001-09-20 16:33:33 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -4489,7 +4489,14 @@ void E3dCompoundObject::Paint3D(ExtOutputDevice& rOut, Base3D* pBase3D,
// Geometrie ausgeben
if(bDrawObject)
- pBase3D->DrawPolygonGeometry(GetDisplayGeometry());
+ {
+ // #92030# for E3dPolygonObj, take flag at created DisplayGeometry into account
+ // which may not allow this object to be drawn filled
+ if(!GetDisplayGeometry().IsOutline())
+ {
+ pBase3D->DrawPolygonGeometry(GetDisplayGeometry());
+ }
+ }
// Outline ausgeben
if(bDrawOutline && pBase3D->GetLightGroup())