From 0ff56677f6f93898569f2657291e61efb0fa3525 Mon Sep 17 00:00:00 2001 From: Rob Cutmore Date: Thu, 6 Apr 2017 19:56:18 -0400 Subject: [PATCH] Remove unused code --- apps/opencs/view/render/cameracontroller.cpp | 5 ----- apps/opencs/view/render/cameracontroller.hpp | 4 ---- 2 files changed, 9 deletions(-) diff --git a/apps/opencs/view/render/cameracontroller.cpp b/apps/opencs/view/render/cameracontroller.cpp index 288e2da07..7b802b0ef 100644 --- a/apps/opencs/view/render/cameracontroller.cpp +++ b/apps/opencs/view/render/cameracontroller.cpp @@ -637,11 +637,6 @@ namespace CSVRender mInitialized = false; } - void OrbitCameraController::onActivate() - { - mInitialized = false; - } - void OrbitCameraController::initialize() { static const int DefaultStartDistance = 10000.f; diff --git a/apps/opencs/view/render/cameracontroller.hpp b/apps/opencs/view/render/cameracontroller.hpp index f15cec231..a2ebba51a 100644 --- a/apps/opencs/view/render/cameracontroller.hpp +++ b/apps/opencs/view/render/cameracontroller.hpp @@ -63,8 +63,6 @@ namespace CSVRender protected: - virtual void onActivate(){} - void addShortcut(CSMPrefs::Shortcut* shortcut); private: @@ -164,8 +162,6 @@ namespace CSVRender private: - void onActivate(); - void initialize(); void rotateHorizontal(double value);