From 3956b3b9532e117152b9642ab0584bbe3d7ec5c5 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Wed, 29 Nov 2017 10:41:51 +1300 Subject: [PATCH] Fix missing line3d overlay property setter overrides of base class --- interface/src/ui/overlays/Line3DOverlay.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interface/src/ui/overlays/Line3DOverlay.cpp b/interface/src/ui/overlays/Line3DOverlay.cpp index 0c63424ec0..8f2455fc8f 100644 --- a/interface/src/ui/overlays/Line3DOverlay.cpp +++ b/interface/src/ui/overlays/Line3DOverlay.cpp @@ -178,6 +178,8 @@ void Line3DOverlay::setProperties(const QVariantMap& originalProperties) { newStartSet = true; } properties.remove("start"); // so that Base3DOverlay doesn't respond to it + properties.remove("startPoint"); + properties.remove("p1"); auto end = properties["end"]; // If "end" property was not there, check to see if they included aliases: endPoint, p2 @@ -192,6 +194,8 @@ void Line3DOverlay::setProperties(const QVariantMap& originalProperties) { newEndSet = true; } properties.remove("end"); // so that Base3DOverlay doesn't respond to it + properties.remove("endPoint"); + properties.remove("p2"); auto length = properties["length"]; if (length.isValid()) {