1
0
Fork 0

copyToCurrent removed.

This commit is contained in:
James Turner 2016-01-20 20:37:26 -05:00
parent bf69781ae0
commit 3171cbce75
2 changed files with 0 additions and 15 deletions

View file

@ -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.

View file

@ -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<SGPropertyNode_ptr> config_list;