From 91fb918a713597349c24812a742732b54e3734ef Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 15 Jan 2020 14:21:13 +0000 Subject: lok: don't render shape selection overlays in lok mode. These are rendered client-side, doing it twice is a bug; also rendering of dashed-lines via drawinglayer decomposition is extraordinarily slow, so avoid it. Change-Id: I821f14699abd6bc9e7a6759c81edded2f792677d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86934 Tested-by: Jenkins Reviewed-by: Michael Meeks --- svx/source/engine3d/dragmt3d.cxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'svx/source/engine3d/dragmt3d.cxx') diff --git a/svx/source/engine3d/dragmt3d.cxx b/svx/source/engine3d/dragmt3d.cxx index 68881166e651..231305eeae37 100644 --- a/svx/source/engine3d/dragmt3d.cxx +++ b/svx/source/engine3d/dragmt3d.cxx @@ -34,6 +34,7 @@ #include #include #include +#include E3dDragMethod::E3dDragMethod ( @@ -214,6 +215,10 @@ void E3dDragMethod::CreateOverlayGeometry( sdr::overlay::OverlayManager& rOverlayManager, const sdr::contact::ObjectContact& rObjectContact) { + // We do client-side object manipulation with the Kit API + if (comphelper::LibreOfficeKit::isActive()) + return; + const sal_uInt32 nCnt(maGrp.size()); basegfx::B2DPolyPolygon aResult; -- cgit