From a84f7749990b10c694d4c0f8115a42770816f1a4 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Tue, 20 Sep 2016 12:52:22 -0700 Subject: [PATCH] Remove line3doverlay local start/end changed --- interface/src/ui/overlays/Line3DOverlay.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/interface/src/ui/overlays/Line3DOverlay.cpp b/interface/src/ui/overlays/Line3DOverlay.cpp index 1616d4c2e2..c3a6c5920e 100644 --- a/interface/src/ui/overlays/Line3DOverlay.cpp +++ b/interface/src/ui/overlays/Line3DOverlay.cpp @@ -124,12 +124,6 @@ void Line3DOverlay::setProperties(const QVariantMap& originalProperties) { } properties.remove("start"); // so that Base3DOverlay doesn't respond to it - auto localStart = properties["localStart"]; - if (localStart.isValid()) { - _start = vec3FromVariant(localStart); - } - properties.remove("localStart"); // so that Base3DOverlay doesn't respond to it - auto end = properties["end"]; // if "end" property was not there, check to see if they included aliases: endPoint if (!end.isValid()) { @@ -139,12 +133,6 @@ void Line3DOverlay::setProperties(const QVariantMap& originalProperties) { setEnd(vec3FromVariant(end)); } - auto localEnd = properties["localEnd"]; - if (localEnd.isValid()) { - _end = vec3FromVariant(localEnd); - } - properties.remove("localEnd"); // so that Base3DOverlay doesn't respond to it - auto glow = properties["glow"]; if (glow.isValid()) { setGlow(glow.toFloat());