Changeset 2123 for GTP/trunk/Lib/Vis/Preprocessing/src/ObjectsParser.cpp
- Timestamp:
- 02/17/07 22:48:12 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ObjectsParser.cpp
r2119 r2123 85 85 , mIsObjectSpaceHierarchy(false) 86 86 { 87 // sort objects so we can search in them88 //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);93 87 } 94 88 … … 257 251 { 258 252 const int objId = *it; 253 254 #if 0 255 // assume there is is no id missing 256 objects.push_back(mPreprocessorObjects[objId]); 257 #else 259 258 dummyInst.SetId(objId); 260 259 … … 268 267 { 269 268 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 277 271 } 278 272 }
Note: See TracChangeset
for help on using the changeset viewer.