kopia lustrzana https://github.com/a1studmuffin/SpaceshipGenerator
Fixed redefining function "seed" to variable
rodzic
bccd6e9723
commit
0f18f2be65
|
@ -729,8 +729,8 @@ if __name__ == "__main__":
|
||||||
if generate_single_spaceship:
|
if generate_single_spaceship:
|
||||||
# Reset the scene, generate a single spaceship and focus on it
|
# Reset the scene, generate a single spaceship and focus on it
|
||||||
reset_scene()
|
reset_scene()
|
||||||
seed = '' # add anything here to generate the same spaceship
|
customseed = '' # add anything here to generate the same spaceship
|
||||||
obj = generate_spaceship(seed)
|
obj = generate_spaceship(customseed)
|
||||||
|
|
||||||
# View the selected object in all views
|
# View the selected object in all views
|
||||||
for area in bpy.context.screen.areas:
|
for area in bpy.context.screen.areas:
|
||||||
|
|
Ładowanie…
Reference in New Issue