Naelson Douglas C. Oliveira 2021-10-24 13:25:37 -03:00 zatwierdzone przez GitHub
commit d0fd85652e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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,