Skip to content

Commit 01419d9

Browse files
author
Lawrence D'Oliveiro
committed
incorrect use of float instead of int
1 parent 734d05a commit 01419d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spaceship_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ def add_surface_antenna_to_face(bm, face) :
954954
material_index = MATERIAL.HULL_METALLIC
955955

956956
# Spire
957-
num_segments = geom_random.uniform(3, 6)
957+
num_segments = geom_random.randint(3, 6)
958958
result = bmesh.ops.create_cone \
959959
(
960960
bm,

0 commit comments

Comments
 (0)