View::updateData becomes a private helper.
This commit is contained in:
parent
5b81333768
commit
1515154e12
3 changed files with 3 additions and 5 deletions
|
@ -849,6 +849,7 @@ View::updateData()
|
|||
void
|
||||
View::update (double dt)
|
||||
{
|
||||
updateData();
|
||||
updateDampOutput(dt);
|
||||
|
||||
int i;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -134,9 +134,6 @@ FGViewMgr::update (double dt)
|
|||
return;
|
||||
}
|
||||
|
||||
// Set up view location and orientation
|
||||
currentView->updateData();
|
||||
|
||||
// Update the current view
|
||||
currentView->update(dt);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue