summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-04-13 15:51:43 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-04-20 14:35:19 +0000
commit91f5b3d2d75897ac75feee1203de45f64129e93f (patch)
tree5ca62d2337983faa9c47fb22aed6e1f05c97adb6
parentcd16cf3e499f9d0f345cd52cb92ae945189ff480 (diff)
Resolves: tdf#90583 3D pie-chart missing guide handles
partial revert of commit db1d2af02861b49e4f53d726d59cd71c20cee9b1 Author: Armin Le Grand <alg@apache.org> Date: Tue Feb 18 21:18:13 2014 +0000 Resolves: #i123539# some optimizations for 3D chart... geometry creation using UNO API (cherry picked from commit bbe35be767d76d08891c4f3d3600d80e0e6805f2) (cherry picked from commit bca8d8985666d3fd22b91eb280f9baaeb933c2d0) Reviewed-on: https://gerrit.libreoffice.org/15284 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com> (cherry picked from commit 488d09771dfbdae0b94898dd675bc39b8550b85e) Change-Id: If35f05fb62230e90cfc43a0beac053e8a87820d4 Reviewed-on: https://gerrit.libreoffice.org/15432 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--svx/source/engine3d/scene3d.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/svx/source/engine3d/scene3d.cxx b/svx/source/engine3d/scene3d.cxx
index 40e606a2738c..d9c02c5611e6 100644
--- a/svx/source/engine3d/scene3d.cxx
+++ b/svx/source/engine3d/scene3d.cxx
@@ -380,14 +380,7 @@ void E3dScene::NewObjectInserted(const E3dObject* p3DObj)
void E3dScene::StructureChanged()
{
E3dObject::StructureChanged();
-
- if(!GetModel() || !GetModel()->isLocked())
- {
- // #i123539# optimization for 3D chart object generation: do not reset
- // already calculated scene projection data every time an object gets
- // initialized
- SetRectsDirty();
- }
+ SetRectsDirty();
ImpCleanup3DDepthMapper();
}