Changeset 10321 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Jan 24, 2007, 10:28:18 AM (18 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/bsp/bsp_file.cc
r10317 r10321 1046 1046 Face->meshvert = patchOffset -sz; //3*(patchOffset-sz)*level1*level1; 1047 1047 Face->n_meshverts = sz; 1048 PRINTF( 0)("BSP FILE: sz: %i. \n", sz);1049 PRINTF( 0)("BSP FILE: Face->meshvert %i . \n", Face->meshvert);1048 PRINTF(4)("BSP FILE: sz: %i. \n", sz); 1049 PRINTF(4)("BSP FILE: Face->meshvert %i . \n", Face->meshvert); 1050 1050 1051 1051 //Face->n_meshverts = sz; -
trunk/src/lib/script_engine/script.cc
r10319 r10321 94 94 { 95 95 std::string filedest(Resources::ResourceManager::getInstance()->mainGlobalPath().name()); 96 filedest += "/scripts/" + filename; 96 97 std::string directory = ""; 98 std::string file = filename; 99 100 unsigned int seperation = filename.find_last_of('/'); 101 if (seperation != std::string::npos) 102 { 103 directory = filename.substr( 0, seperation+1 ); 104 file = filename.substr( seperation+1 ); 105 } 106 filedest += "scripts/" + directory + file; 97 107 98 108 this->addThisScript();
Note: See TracChangeset
for help on using the changeset viewer.