Skip to content

Conversation

MartyOSa
Copy link

Update for compatibility in Blender 3.3.0

Update for compatibility in Blender 3.3.0
@ldo
Copy link

ldo commented Dec 17, 2022

The bug is actually here:

--- a/spaceship_generator.py
+++ b/spaceship_generator.py
@@ -337,7 +337,7 @@ def add_surface_antenna_to_face(bm, face):
                 material_index = Material.hull if random() > 0.5 else Material.hull_dark

                 # Spire
-                num_segments = uniform(3, 6)
+                num_segments = randint(3, 6)
                 result = bmesh.ops.create_cone(bm,
                                                cap_ends=False,
                                                cap_tris=False,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants