1
0
Fork 0

View::updateData becomes a private helper.

This commit is contained in:
James Turner 2016-01-24 13:02:31 -06:00
parent 5b81333768
commit 1515154e12
3 changed files with 3 additions and 5 deletions

View file

@ -849,6 +849,7 @@ View::updateData()
void
View::update (double dt)
{
updateData();
updateDampOutput(dt);
int i;

View file

@ -79,8 +79,7 @@ public:
//////////////////////////////////////////////////////////////////////
void resetOffsetsAndFOV();
void updateData();
ViewType getType() const { return _type; }
void setType( int type );
@ -200,6 +199,7 @@ private:
double target_z_offset_m, double near_m, bool internal );
void set_clean() { _dirty = false; }
void updateData();
void setHeadingOffset_deg_property (double heading_offset_deg);
void setPitchOffset_deg_property(double pitch_offset_deg);

View file

@ -134,9 +134,6 @@ FGViewMgr::update (double dt)
return;
}
// Set up view location and orientation
currentView->updateData();
// Update the current view
currentView->update(dt);