G-stretch is failing to find grease pencil annotation datablock #64079

Closed
opened 2019-05-02 13:40:09 +02:00 by Samuel Bernou · 5 comments
Member

System Information
Operating system: windows 10
Graphics card: GTX 1080

Blender Version
blender 2.80
Date : 23/04/2019
Hash : 1b839e85e142

Short description of error
Looptool's G-stretch is failing because it try to access grease_pencil attribute of object instead of scene annotation bpy.context.scene.grease_pencil

AttributeError: 'Object' object has no attribute 'grease_pencil'

Exact steps for others to reproduce the error
Enter edit mode on a random mesh, select a few vertices, trace a grease pencil annotation, click G-stretch in looptool.

**System Information** Operating system: windows 10 Graphics card: GTX 1080 **Blender Version** blender 2.80 Date : 23/04/2019 Hash : 1b839e85e142 **Short description of error** Looptool's G-stretch is failing because it try to access grease_pencil attribute of object instead of scene annotation bpy.context.scene.grease_pencil > AttributeError: 'Object' object has no attribute 'grease_pencil' **Exact steps for others to reproduce the error** Enter edit mode on a random mesh, select a few vertices, trace a grease pencil annotation, click G-stretch in looptool.
Author
Member

Added subscriber: @Pullup

Added subscriber: @Pullup

Added subscribers: @BrendonMurphy, @antoniov

Added subscribers: @BrendonMurphy, @antoniov

@BrendonMurphy Already working in a fix: 934b32af8e

@BrendonMurphy Already working in a fix: 934b32af8ef7
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Brendon Murphy self-assigned this 2019-06-10 11:48:05 +02:00
Member

yes, should be fixed, if further issues arise, please create a new task.

yes, should be fixed, if further issues arise, please create a new task.
Sign in to join this conversation.
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: blender/blender-addons#64079
No description provided.