kopia lustrzana https://github.com/a1studmuffin/SpaceshipGenerator
Merge cb99d978e2
into 0fe0149c9d
commit
d0fd85652e
|
@ -42,7 +42,7 @@ def reset_scene():
|
|||
# with all the additional side faces created from the extrusion.
|
||||
def extrude_face(bm, face, translate_forwards=0.0, extruded_face_list=None):
|
||||
new_faces = bmesh.ops.extrude_discrete_faces(bm, faces=[face])['faces']
|
||||
if extruded_face_list != None:
|
||||
if extruded_face_list is not None:
|
||||
extruded_face_list += new_faces[:]
|
||||
new_face = new_faces[0]
|
||||
bmesh.ops.translate(bm,
|
||||
|
|
Ładowanie…
Reference in New Issue