diff options
author | Mathias Bauer <mba@openoffice.org> | 2010-06-17 18:13:10 +0200 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2010-06-17 18:13:10 +0200 |
commit | 32a69fe0c6918c01a32c36b1281a359ea0214863 (patch) | |
tree | 4d5871a4eff2a85dc0134c4da8e35750690767c2 /svx/source/engine3d/scene3d.cxx | |
parent | cd24cd260c8112aa71f657b2de8381cc8f1e8c8e (diff) | |
parent | 34dd33af79caf3a13ec3a4e7098616ac0b16cf50 (diff) |
CWS mba33issues01: rebase to m83
Diffstat (limited to 'svx/source/engine3d/scene3d.cxx')
-rw-r--r-- | svx/source/engine3d/scene3d.cxx | 14 |
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(); + } } /************************************************************************* |