From: <lpa...@us...> - 2012-04-08 17:36:51
|
Revision: 8195 http://planeshift.svn.sourceforge.net/planeshift/?rev=8195&view=rev Author: lpancallo Date: 2012-04-08 17:36:45 +0000 (Sun, 08 Apr 2012) Log Message: ----------- added filter for density maps used in meshgen (grass) Modified Paths: -------------- trunk/src/tools/ccheck/ccheck.cpp Modified: trunk/src/tools/ccheck/ccheck.cpp =================================================================== --- trunk/src/tools/ccheck/ccheck.cpp 2012-04-08 17:11:24 UTC (rev 8194) +++ trunk/src/tools/ccheck/ccheck.cpp 2012-04-08 17:36:45 UTC (rev 8195) @@ -221,7 +221,7 @@ futil.CopyFile(filePath, outpath+"/meshes/"+csString(filePath).Slice(csString(filePath).FindLast('/')), true, false); } - if(csString(filePath).Find(".params") != (size_t)-1 || csString(filePath).Find("_heightmap.png") != (size_t)-1) + if(csString(filePath).Find(".params") != (size_t)-1 || csString(filePath).Find("_heightmap.png") != (size_t)-1 || csString(filePath).Find("_density.png") != (size_t)-1) { csString paramsPath = outpath+"/world/"+csString(filePath).Slice(csString(filePath).FindLast('/')); if(vfs->Exists(paramsPath)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |