mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Added a checkbox to the terrain import GUI and fixed a space.
This commit is contained in:
parent
6ff1db6c0c
commit
b868906ba5
5 changed files with 97 additions and 5 deletions
|
|
@ -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!" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue