Cleanup: replace dict with set for bmesh_utils.bmesh_linked_uv_islands

Also correct doc-string syntax.
This commit is contained in:
2022-08-25 16:41:22 +10:00
parent de570dc87e
commit 012db9e820
2 changed files with 12 additions and 11 deletions

View File

@@ -52,7 +52,7 @@ def get_random_transform(transform_params, entropy):
def randomize_uv_transform_island(bm, uv_layer, faces, transform_params):
entropy = min(faces) # Ensure consistent random values for island, regardless of selection etc.
entropy = min(faces) # Ensure consistent random values for island, regardless of selection etc.
transform = get_random_transform(transform_params, entropy)
# Find bounding box.