[Bf-extensions-cvs] [b3fdd905] blender2.8: added support for collection instances

Kalle-Samuli Riihikoski noreply at git.blender.org
Sat Dec 8 14:19:47 CET 2018


Commit: b3fdd9054629bff8b88c7137a1d7b50d0fb9551f
Author: Kalle-Samuli Riihikoski
Date:   Sat Dec 8 15:16:25 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBAb3fdd9054629bff8b88c7137a1d7b50d0fb9551f

added support for collection instances

===================================================================

M	io_coat3D/__init__.py

===================================================================

diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py
index 425af9d9..98ff8092 100644
--- a/io_coat3D/__init__.py
+++ b/io_coat3D/__init__.py
@@ -527,7 +527,7 @@ class SCENE_OT_import(bpy.types.Operator):
                 break
             obj_pathh.close()
 
-            for scene_objects in bpy.context.collection.objects:
+            for scene_objects in bpy.context.collection.all_objects:
                 if(scene_objects.type == 'MESH'):
                     if(scene_objects.coat3D.applink_address == new_applink_address):
                         new_object = False



More information about the Bf-extensions-cvs mailing list