예제 #1
0
def resizeTerrainMaps(item):
    """This function resizes the current space's terrain maps."""
    WorldEditor.resizeTerrainMaps()
    bd.enterChunkVizMode()
예제 #2
0
def meshMode(item):
    WorldEditor.setOptionInt("render/chunk/vizMode", 3)
    bd.enterChunkVizMode()
예제 #3
0
def convertTerrain(item):
    """This function converts the current space's terrain to the new format."""
    WorldEditor.convertCurrentTerrain()
    bd.enterChunkVizMode()
예제 #4
0
def boundaryBox(item):
    WorldEditor.setOptionInt("render/chunk/vizMode", 1)
    bd.enterChunkVizMode()
예제 #5
0
def heightMap(item):
    WorldEditor.setOptionInt("render/chunk/vizMode", 2)
    bd.enterChunkVizMode()
예제 #6
0
def resizeTerrainMaps( item ):
	"""This function resizes the current space's terrain maps."""
	WorldEditor.resizeTerrainMaps()
	bd.enterChunkVizMode()
예제 #7
0
def normalMode(item):
    WorldEditor.setOptionInt("render/chunk/vizMode", 0)
    bd.enterChunkVizMode()
예제 #8
0
def convertTerrain( item ):
	"""This function converts the current space's terrain to the new format."""
	WorldEditor.convertCurrentTerrain()
	bd.enterChunkVizMode()
예제 #9
0
def meshMode( item ):
	WorldEditor.setOptionInt( "render/chunk/vizMode", 3 )
	bd.enterChunkVizMode()
예제 #10
0
def heightMap( item ):
	WorldEditor.setOptionInt( "render/chunk/vizMode", 2 )
	bd.enterChunkVizMode()
예제 #11
0
def boundaryBox( item ):
	WorldEditor.setOptionInt( "render/chunk/vizMode", 1 )
	bd.enterChunkVizMode()
예제 #12
0
def normalMode( item ):
	WorldEditor.setOptionInt( "render/chunk/vizMode", 0 )
	bd.enterChunkVizMode()