From 3171cbce753d3bcccb55ea4f1de18f91b2152c32 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 20 Jan 2016 20:37:26 -0500 Subject: [PATCH] copyToCurrent removed. --- src/Viewer/viewmgr.cxx | 12 ------------ src/Viewer/viewmgr.hxx | 3 --- 2 files changed, 15 deletions(-) diff --git a/src/Viewer/viewmgr.cxx b/src/Viewer/viewmgr.cxx index 85aef6cc6..0d2ed5546 100644 --- a/src/Viewer/viewmgr.cxx +++ b/src/Viewer/viewmgr.cxx @@ -79,7 +79,6 @@ FGViewMgr::init () } } - copyToCurrent(); do_bind(); get_current_view()->bind(); @@ -263,12 +262,6 @@ FGViewMgr::update (double dt) } } -void -FGViewMgr::copyToCurrent() -{ - -} - void FGViewMgr::clear() { views.clear(); @@ -493,11 +486,6 @@ FGViewMgr::setView (int newview) get_current_view()->bind(); } - // copy in view data - copyToCurrent(); - - - // force an update now, to avoid returning bogus data. // real fix would to be make all the accessors use the dirty mechanism // on FGViewer, so update() is a no-op. diff --git a/src/Viewer/viewmgr.hxx b/src/Viewer/viewmgr.hxx index 7e4dfb5c9..32a9e63f4 100644 --- a/src/Viewer/viewmgr.hxx +++ b/src/Viewer/viewmgr.hxx @@ -131,9 +131,6 @@ private: double getCurrentViewFrame_y() const; double getCurrentViewFrame_z() const; - // copies current offset settings to current-view path... - void copyToCurrent (); - bool inited; SGPropertyNode_ptr view_number; std::vector config_list; -- 2.39.5