summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/scene3d.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-06-17 18:13:10 +0200
committerMathias Bauer <mba@openoffice.org>2010-06-17 18:13:10 +0200
commit32a69fe0c6918c01a32c36b1281a359ea0214863 (patch)
tree4d5871a4eff2a85dc0134c4da8e35750690767c2 /svx/source/engine3d/scene3d.cxx
parentcd24cd260c8112aa71f657b2de8381cc8f1e8c8e (diff)
parent34dd33af79caf3a13ec3a4e7098616ac0b16cf50 (diff)
CWS mba33issues01: rebase to m83
Diffstat (limited to 'svx/source/engine3d/scene3d.cxx')
-rw-r--r--svx/source/engine3d/scene3d.cxx14
1 files changed, 12 insertions, 2 deletions
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index d799aec38eb7..036f700e6e96 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -336,8 +336,18 @@ UINT16 E3dScene::GetObjIdentifier() const
void E3dScene::SetBoundRectDirty()
{
- // avoid resetting aOutRect which in case of this object is model data,
- // not re-creatable view data
+ E3dScene* pScene = GetScene();
+
+ if(pScene == this)
+ {
+ // avoid resetting aOutRect which in case of a 3D scene used as 2d object
+ // is model data,not re-creatable view data
+ }
+ else
+ {
+ // if not the outmost scene it is used as group in 3d, call parent
+ E3dObject::SetBoundRectDirty();
+ }
}
/*************************************************************************