Changeset 2706 for GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
- Timestamp:
- 05/24/08 15:48:02 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/main.cpp
r2699 r2706 61 61 static string GetViewPointsListName(const string &filename) 62 62 { 63 string viewCellPointsFile;64 65 63 char buff[200]; 66 64 Environment::GetSingleton()->GetStringValue("ViewCells.randomViewPointsList", buff); 67 68 string vpList(buff); 69 70 if (vpList == "") 65 string viewCellPointsFile = buff; 66 67 if (viewCellPointsFile == "") 71 68 { 72 69 // if not specified, take file that has same prefix as scene file … … 78 75 viewCellPointsFile = ReplaceSuffix(filename, ".x3d", ".vc"); 79 76 } 80 else81 {82 viewCellPointsFile = vpList;83 }84 77 85 78 return viewCellPointsFile; … … 234 227 235 228 236 237 229 // export objects as obj 238 230 if (preprocessor->mExportObj) … … 245 237 else 246 238 { 247 248 239 const string objname = GetInternFilename(filename, ".obj"); 249 240 … … 281 272 cout << "successfully loaded " << viewCellPointsFile << endl; 282 273 else 283 cerr << "error: file <<" << viewCellPointsFile << " not found" << endl;274 cerr << "error: file " << viewCellPointsFile << " not found" << endl; 284 275 } 285 276
Note: See TracChangeset
for help on using the changeset viewer.