Changeset 503

Show
Ignore:
Timestamp:
02/12/08 17:08:18 (11 months ago)
Author:
phill
Message:

o Fixed a loader bug.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/morph-targets/libx42/load.c

    r501 r503  
    10131013                { 
    10141014                        checked_read_packed_floats_s8n( &ret->morphTan[0].tan, 7, h->numMorphDeltas, sizeof( x42morphTangent_t ) ); 
     1015                        for( i = 0; i < h->numMorphDeltas; i++ ) 
     1016                        { 
     1017                                ret->morphTan[0].nfac0 = 0; 
     1018                                ret->morphTan[0].nfac1 = 0; 
     1019                        } 
    10151020                } 
    10161021                else if( h->modelFlags & X42_MF_HAS_TANGENT_BASIS ) 
     
    14531458                { 
    14541459                        checked_read_packed_floats_s8n( &ret->morphTan[0].tan, 7, h->numMorphDeltas, sizeof( x42morphTangent_t ) ); 
     1460                        for( i = 0; i < h->numMorphDeltas; i++ ) 
     1461                        { 
     1462                                ret->morphTan[0].nfac0 = 0; 
     1463                                ret->morphTan[0].nfac1 = 0; 
     1464                        } 
    14551465                } 
    14561466                else if( h->modelFlags & X42_MF_HAS_TANGENT_BASIS )