4.3 incompatible? Console spam #1

Closed
opened 2024-11-22 14:12:55 +01:00 by Kiellog · 2 comments
AttributeError: 'Object' object has no attribute 'grease_pencil_modifiers'
Traceback (most recent call last):
  File "/usr/share/blender/4.3/scripts/modules/bpy_types.py", line 1035, in draw_ls
    func(self, context)
  File "/home/ke/.config/blender/4.3/extensions/blender_org/modifier_tools/__init__.py", line 234, in menu
    if (len(context.active_object.modifiers) or len(context.active_object.grease_pencil_modifiers)):
                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

API changed? (workaround: I just removed the gpencil part since I don't use gpencil.)

``` AttributeError: 'Object' object has no attribute 'grease_pencil_modifiers' Traceback (most recent call last): File "/usr/share/blender/4.3/scripts/modules/bpy_types.py", line 1035, in draw_ls func(self, context) File "/home/ke/.config/blender/4.3/extensions/blender_org/modifier_tools/__init__.py", line 234, in menu if (len(context.active_object.modifiers) or len(context.active_object.grease_pencil_modifiers)): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ``` API changed? (workaround: I just removed the gpencil part since I don't use gpencil.)

yea I think removing it is the correct thing to do, since: "Grease Pencil modifiers are now regular modifiers."
https://developer.blender.org/docs/release_notes/4.3/grease_pencil_migration/#python-api

yea I think removing it is the correct thing to do, since: "Grease Pencil modifiers are now regular modifiers." https://developer.blender.org/docs/release_notes/4.3/grease_pencil_migration/#python-api

Fixed, new version will be available shortly

Fixed, new version will be available shortly
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
3 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/space_view3d_modifier_tools#1
No description provided.