Implimented releasing of faces.

This commit is contained in:
CJSatnarine
2023-05-08 12:58:55 -04:00
parent de4d565505
commit c99188b89b

View File

@@ -78,7 +78,11 @@ def spawnGround():
# Show the updates in the viewport.
bmesh.update_edit_mesh(activeObject.data);
print('face ', i, ' grabbed');
print('Face ', i, ' grabbed');
# Deselect the faces.
bm.faces[i].select = False;
print('Face ', i, ' released');
# Add the material.
activeObject.data.materials.append(material);