Added a checkbox to the terrain import GUI and fixed a space.

This commit is contained in:
Daniel Buckmaster 2013-03-23 09:24:02 +11:00
parent 6ff1db6c0c
commit b868906ba5
5 changed files with 97 additions and 5 deletions

View file

@ -684,7 +684,7 @@ void TerrainFile::import( const GBitmap &heightMap,
F32 heightScale,
const Vector<U8> &layerMap,
const Vector<String> &materials,
bool flipYAxis)
bool flipYAxis )
{
AssertFatal( heightMap.getWidth() == heightMap.getHeight(), "TerrainFile::import - Height map is not square!" );
AssertFatal( isPow2( heightMap.getWidth() ), "TerrainFile::import - Height map is not power of two!" );