Fix problems with collection

pull/1/head
SavMartin 5 years ago committed by GitHub
parent 408475dbbd
commit 05d548da29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -194,7 +194,7 @@ def get_set_name_base(obj):
return remove_digits(obj.parent.name).lower()
# Reference group name as base name
elif len(obj.users_collection) == 1:
elif len(obj.users_collection) == 2:
return remove_digits(obj.users_collection[0].name).lower()
# Use Object name
@ -602,4 +602,4 @@ def get_image_material(image):
slot.texture = texture
slot.mapping = 'FLAT'
# return material
# return material

Loading…
Cancel
Save