Skip to content

Commit

Permalink
GRAPHICS: Make sure Model::_elapsed time is initialized to prevent in…
Browse files Browse the repository at this point in the history
…valid initial interpolations
  • Loading branch information
jbowtie authored and DrMcCoy committed Apr 27, 2012
1 parent 40a839a commit 5c851e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/graphics/aurora/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ Model::Model(ModelType type) : Renderable((RenderableType) type),
_modelScale[0] = 1.0; _modelScale[1] = 1.0; _modelScale[2] = 1.0;
//TODO: is this the same as modelScale for non-UI?
_animationScale = 1.0;
_elapsedTime = 0.0;
}

Model::~Model() {
Expand Down

0 comments on commit 5c851e8

Please sign in to comment.