summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-12-21 20:08:33 +0900
committerTomaž Vajngerl <quikee@gmail.com>2017-12-21 14:48:32 +0100
commitb2c3233e5f267b5d244d722a94424a3b224b3314 (patch)
tree68bb18b33ee5068696473c3e7920882f55896882 /include
parent2c6d6c113177e25b9ae1674c1e8de0b3c8ae1327 (diff)
chart2: suspend/resume setting rects dirty for 3D shapes
Previously we bypassed setting rects as dirty for a scene just before we are about to create a 3D object. With this change we do it earlier and suspend for the whole time we are creating the scene - so we guarantee to o it for all 3D objects in that code path. Aferwards we resume with setting rects and mark the whole scene as dirty so we don't miss some update. Change-Id: Ie4dec644102140edf282a2f5f6eb7fc9b81dbe48 Reviewed-on: https://gerrit.libreoffice.org/46901 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/scene3d.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/svx/scene3d.hxx b/include/svx/scene3d.hxx
index 2f76cec02a13..c0a9a247746b 100644
--- a/include/svx/scene3d.hxx
+++ b/include/svx/scene3d.hxx
@@ -164,8 +164,10 @@ public:
virtual bool BckCreate(SdrDragStat& rStat) override;
virtual void BrkCreate(SdrDragStat& rStat) override;
- void EnterObjectSetupMode();
- void ExitObjectSetupMode();
+ void SuspendReportingDirtyRects();
+ void ResumeReportingDirtyRects();
+ void SetAllSceneRectsDirty();
+
};
#endif // INCLUDED_SVX_SCENE3D_HXX