From 7322cd3ecee1e80613ab0362ab68cb62a4e7fd44 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Thu, 4 Dec 2014 20:16:50 -0800 Subject: [PATCH] Coding Standard --- interface/src/ui/overlays/Overlays.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface/src/ui/overlays/Overlays.cpp b/interface/src/ui/overlays/Overlays.cpp index d991cb762c..25e667e56c 100644 --- a/interface/src/ui/overlays/Overlays.cpp +++ b/interface/src/ui/overlays/Overlays.cpp @@ -245,9 +245,9 @@ void Overlays::deleteOverlay(unsigned int id) { } unsigned int Overlays::getOverlayAtPoint(const glm::vec2& point) { - glm::vec2 pointCpy = point; + glm::vec2 pointCopy = point; if (OculusManager::isConnected()) { - pointCpy = Application::getInstance()->getApplicationOverlay().screenToOverlay(point); + pointCopy = Application::getInstance()->getApplicationOverlay().screenToOverlay(point); } QReadLocker lock(&_lock); @@ -258,7 +258,7 @@ unsigned int Overlays::getOverlayAtPoint(const glm::vec2& point) { unsigned int thisID = i.key(); Overlay2D* thisOverlay = static_cast(i.value()); if (thisOverlay->getVisible() && thisOverlay->isLoaded() && - thisOverlay->getBounds().contains(pointCpy.x, pointCpy.y, false)) { + thisOverlay->getBounds().contains(pointCopy.x, pointCopy.y, false)) { return thisID; } }