Ignore:
Timestamp:
05/19/09 19:17:41 (15 years ago)
Author:
mattausch
Message:

reverted but now a good version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/Converter/ObjConverter2.cpp

    r3371 r3372  
    129129                                for (int j = 0; j < 3; ++ j) 
    130130                                { 
     131                                        //if (tIndices[idx[j]] >= (int)texcoords.size()) 
     132                                                //cerr << "error: texcoord indices exceed array size " << texcoords.size() << " " << tIndices[idx[j]] << endl; 
    131133                                        const int tidx = min((int)texcoords.size() - 1, tIndices[idx[j]]); 
     134 
    132135                                        faceTexcoords.push_back(texcoords[tidx]); 
    133136                                } 
Note: See TracChangeset for help on using the changeset viewer.