Sculpt API can no longer be used to draw strokes via python #52195
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#52195
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 10 and Ubuntu Linux
Blender Version
Broken: 2.78 and current git
Worked: 2.76b and 2.77a
Short description of error
An change in sculpt stroke initiation to fix a different bug made the sculpt API no longer work.
Exact steps for others to reproduce the error
Place the script sculpt_stroke_on_grease_pencil.py in your addons folder, then run the script with the attached blend - stroke on curve.blend . In previous versions there is a stroke that follows the path of the curve around the object. In current git and 2.78 it no longer works.
sculpt_stroke_on_grease_pencil.py
stroke on curve.blend
Changed status to: 'Open'
Added subscriber: @TomMusgrove
Campbell, I believe it is one of these commits that caused the issue (I think the more recent of the two, but can't recall for certain.)
https://developer.blender.org/rBe8c24ee0d9262fe648f4bd8f13e1a2f1f88ae050
https://developer.blender.org/rB6ac0d357d68d35dc24be9c77fc48abfe20fb3657
Added subscriber: @Sergey
Can get the script to work in 2.76b, but not in 2.77a.
In any case, @ideasman42, mind having a look?
Changed status from 'Open' to: 'Resolved'
This issue was referenced by blender/blender@f3782c0a9e