Takanu / Capsule

(Blender 4.1) Universal batch export manager
https://takanu.itch.io/capsule-blender-addon
GNU General Public License v3.0
191 stars 12 forks source link

AttributeError: 'NoneType' object has no attribute 'name' on Collection export #28

Closed Flynsarmy closed 2 years ago

Flynsarmy commented 2 years ago

Exporting Objects works fine but when clicking Export All on the Collections tab I get the following error:

Python: Traceback (most recent call last): File "path\to\Blender\2.93\scripts\addons\Capsule\export_operators.py", line 107, in execute collection_export_result = ExportCollectionList(context, exp, export_collections, global_record) File "path\to\Blender\2.93\scripts\addons\Capsule\export_operators.py", line 354, in ExportCollectionList root_definition = bpy.context.scene.objects.get(collection.CAPCol.root_object.name) AttributeError: 'NoneType' object has no attribute 'name'

location: :-1

image

Capsule version 1.3.0 with pretty much default Preferences settings: image

Takanu commented 2 years ago

Hey, thanks for reporting this. I don't have any immediate solutions or ideas but I'll look into this when I can and see what I can find 👌

Takanu commented 2 years ago

I've been able to confirm this issue as I prepare a bugfix release and it should be fixed with 1.4.