Warning about material_slots in dupli_group_id.py #1

Open
opened 2024-07-12 13:02:23 +02:00 by Pablo Vazquez · 0 comments

Can't reproduce at the moment but it showed up in Blender 4.1.1.
Need to investigate. Writing here so I don't forget.

AttributeError: 'NoneType' object has no attribute 'material_slots'
Traceback (most recent call last):
  File "Blender4.1.app/Contents/Resources/4.1/scripts/addons/amaranth/misc/dupli_group_id.py", line 137, in poll
    return context.active_object.instance_collection
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'instance_collection'
Can't reproduce at the moment but it showed up in Blender 4.1.1. Need to investigate. Writing here so I don't forget. ```bash AttributeError: 'NoneType' object has no attribute 'material_slots' Traceback (most recent call last): File "Blender4.1.app/Contents/Resources/4.1/scripts/addons/amaranth/misc/dupli_group_id.py", line 137, in poll return context.active_object.instance_collection ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'instance_collection' ```
Pablo Vazquez added the
bug
label 2024-07-12 13:02:23 +02:00
Pablo Vazquez self-assigned this 2024-07-12 13:02:24 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: extensions/amaranth#1
No description provided.