def resizeTerrainMaps(item): """This function resizes the current space's terrain maps.""" WorldEditor.resizeTerrainMaps() bd.enterChunkVizMode()
def meshMode(item): WorldEditor.setOptionInt("render/chunk/vizMode", 3) bd.enterChunkVizMode()
def convertTerrain(item): """This function converts the current space's terrain to the new format.""" WorldEditor.convertCurrentTerrain() bd.enterChunkVizMode()
def boundaryBox(item): WorldEditor.setOptionInt("render/chunk/vizMode", 1) bd.enterChunkVizMode()
def heightMap(item): WorldEditor.setOptionInt("render/chunk/vizMode", 2) bd.enterChunkVizMode()
def resizeTerrainMaps( item ): """This function resizes the current space's terrain maps.""" WorldEditor.resizeTerrainMaps() bd.enterChunkVizMode()
def normalMode(item): WorldEditor.setOptionInt("render/chunk/vizMode", 0) bd.enterChunkVizMode()
def convertTerrain( item ): """This function converts the current space's terrain to the new format.""" WorldEditor.convertCurrentTerrain() bd.enterChunkVizMode()
def meshMode( item ): WorldEditor.setOptionInt( "render/chunk/vizMode", 3 ) bd.enterChunkVizMode()
def heightMap( item ): WorldEditor.setOptionInt( "render/chunk/vizMode", 2 ) bd.enterChunkVizMode()
def boundaryBox( item ): WorldEditor.setOptionInt( "render/chunk/vizMode", 1 ) bd.enterChunkVizMode()
def normalMode( item ): WorldEditor.setOptionInt( "render/chunk/vizMode", 0 ) bd.enterChunkVizMode()