BlenderKit: fix a bug in previous commit - forgotten print was throwing errors

This commit is contained in:
Vilém Duha 2019-09-04 15:52:10 +02:00
parent e760c7f30e
commit 38eb5e03f9
1 changed files with 0 additions and 1 deletions

View File

@ -104,7 +104,6 @@ def link_group(file_name, obnames=[], location=(0, 0, 0), link=False, **kwargs):
main_object = bpy.context.view_layer.objects.active
main_object.instance_type = 'COLLECTION'
for col in bpy.data.collections:
print(col.name, col.library, file_name)
if col.library is not None:
if col.library.filepath == file_name:
main_object.instance_collection = col