From 5fdf114ff0bffcae643a90c14717afa131be47de Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Tue, 25 Feb 2014 21:53:20 -0800 Subject: [PATCH] removed more cruft --- interface/src/Application.cpp | 5 ----- interface/src/Application.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 8af743fd96..6ca467816b 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -149,7 +149,6 @@ Application::Application(int& argc, char** argv, timeval &startup_time) : _bytesPerSecond(0), _recentMaxPackets(0), _resetRecentMaxPacketsSoon(true), - _pasteMode(false), _logger(new FileLogger(this)) { switchToResourcesParentIfRequired(); @@ -926,9 +925,6 @@ void Application::keyReleaseEvent(QKeyEvent* event) { } switch (event->key()) { - case Qt::Key_Shift: - _pasteMode = false; - break; case Qt::Key_E: _myAvatar->setDriveKeys(UP, 0); break; @@ -1437,7 +1433,6 @@ void Application::pasteVoxels(const VoxelDetail& sourceVoxel) { if (calculatedOctCode) { delete[] calculatedOctCode; } - _pasteMode = false; } void Application::nudgeVoxelsByVector(const VoxelDetail& sourceVoxel, const glm::vec3& nudgeVec) { diff --git a/interface/src/Application.h b/interface/src/Application.h index 7fbdec6cf8..636e56eaf2 100644 --- a/interface/src/Application.h +++ b/interface/src/Application.h @@ -466,8 +466,6 @@ private: StDev _idleLoopStdev; float _idleLoopMeasuredJitter; - bool _pasteMode; - PieMenu _pieMenu; int parseOctreeStats(const QByteArray& packet, const SharedNodePointer& sendingNode);