Fixed: Initialize all members in LWOAnimation

pull/596/head
Richard 2015-06-30 23:49:32 -06:00
parent 6fb38a375e
commit df6e58fd40
1 changed files with 4 additions and 0 deletions

View File

@ -62,6 +62,10 @@ using namespace Assimp::LWO;
AnimResolver::AnimResolver(std::list<Envelope>& _envelopes,double tick) AnimResolver::AnimResolver(std::list<Envelope>& _envelopes,double tick)
: envelopes (_envelopes) : envelopes (_envelopes)
, sample_rate (0.) , sample_rate (0.)
, envl_x(), envl_y(), envl_z()
, end_x(), end_y(), end_z()
, flags()
, sample_delta()
{ {
trans_x = trans_y = trans_z = NULL; trans_x = trans_y = trans_z = NULL;
rotat_x = rotat_y = rotat_z = NULL; rotat_x = rotat_y = rotat_z = NULL;