Grease Pencil: Crash weight painting on stroke with generative modifier [subdivide] - also generative modifiers create actual editable points? #78884
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#78884
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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
Operating system: Windows-10-10.0.16299-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 530 Intel 4.5.0 - Build 22.20.16.4836
Blender Version
Broken: version: 2.83.2, branch: master, commit date: 2020-07-09 05:50, hash:
239fbf7d93
Short description of error
Blender crashes when you are trying draw weight on subdevided grease pensil object (does not seem to happen on the regular meshes).
Exact steps for others to reproduce the error
0. Open attachment.
CrashGreasePenscilArmatureSubdivide.blend
What I have done:
create a new grease pencil object (Blank)
In Draw mode make some figure.
In Edit mode make few simplifies.
In Object mode add Subdivide; add armature; set perrent with empty groups
In Weigth paint mode try to draw weigth
Crash.
Sorry. My English not so good. I hope, I have create a good description.
Added subscriber: @dlavsevo
#79610 was marked as duplicate of this issue
Added subscriber: @iss
Changed status from 'Needs Triage' to: 'Confirmed'
Crash wasn't immediate, but not really problem to reproduce.
Exception thrown: read access violation. dw was 0xFFFFFFFFFFFFFFFF.
so. what I can do with this information? will this mistake resolved at some version of blender? i think this problem is not critical. i do not know, why i have used subdivide.
It's for developers to see where crash happened
Added subscribers: @antoniov, @lichtwerk
Armature modifier is not neccessary to show the issue.
Could it be that there is something fundamentaly "wrong" (or at least very different compared to mesh modifiers) with the "show_in_editmode" modifier option with greasepencil and generative modifiers?
For mesh objects, the editmesh control points (vertices) are always the same, even for generative modifiers:
For greasepencil the above is not the same:
So in the case of this report, indices of the deformgroup cannot match, leading to crash.
It is also weird that those generative modifiers do their thing in the
deformStroke
callbacks, should these be more in thegenerateStrokes
callbacks?Crash can probably avoided, but to me this sound like it could go wrong in many, many other places.
@antoniov : is this really by design? (dare setting to High prio for clarification)
Crash subdivided Grease Pensil in Weight paint modeto Grease Pencil: Crash weight painting on stroke with generative modifier [subdivide] - also generative modifiers create actual editable points?The
generateStrokes
callback is only designed to add new strokes, never to modifiy existing strokes. The simplify or subdivide are using an existing stroke.I'm going to look at the problem.
This issue was referenced by
39d7c111db
This issue was referenced by
71683be4bb
Changed status from 'Confirmed' to: 'Resolved'
Added subscriber: @babakkarimiasl