Ignore:
Timestamp:
02/17/07 22:48:12 (17 years ago)
Author:
mattausch
Message:

worded on obj loading in Ogre

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/ObjectsParser.cpp

    r2119 r2123  
    8585  , mIsObjectSpaceHierarchy(false) 
    8686{ 
    87         // sort objects so we can search in them 
    88         //if (!is_sorted(mPvsObjects.begin(), mPvsObjects.end(), ilt)) 
    89                 sort(mPvsObjects.begin(), mPvsObjects.end(), ilt); 
    90 Debug << "here333"; 
    91         //if (!is_sorted(mPreprocessorObjects.begin(), mPreprocessorObjects.end(), ilt)) 
    92                 //sort(mPreprocessorObjects.begin(), mPreprocessorObjects.end(), ilt); 
    9387} 
    9488 
     
    257251        { 
    258252                const int objId = *it;   
     253 
     254#if 0 
     255                // assume there is is no id missing 
     256                objects.push_back(mPreprocessorObjects[objId]); 
     257#else 
    259258                dummyInst.SetId(objId); 
    260259 
     
    268267                { 
    269268                        objects.push_back(*oit); 
    270                         Debug << "x"; 
    271                 } 
    272                 else 
    273                 { 
    274                         Debug << "y"; 
    275                         //cerr << "StartBvhLeafObjects error: object with id " << objId << " does not exist" << endl; 
    276                 } 
     269                } 
     270#endif 
    277271        } 
    278272} 
Note: See TracChangeset for help on using the changeset viewer.