Grease Pencil: L (key) / cmd z / crash #68414
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
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, Assets & 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
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
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
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#68414
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?
hi there
it happens that blender grease pencil crashes regularly, when I'm in drawing modus and press:
l (L Key) - then cmd+z
best
jadi
System Information
Operating system:
Graphics card:
Blender Version
Broken: (example: 2.80,
edbf15d3c0
, master, 2018-11-28, as found on the splash screen)Worked: (optional)
Short description of error
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
Added subscriber: @jedi-kawasaki
hi there
it happens that blender grease pencil crashes regularly, when I'm in drawing modus and press:
l (L Key) - then cmd+z
best
jadi
Added subscribers: @antoniov, @ChristopherAnderssarian
@antoniov
Added subscriber: @CharlieJolly
@CharlieJolly The error is
gpencil_paint.c
I assign to you. If you don't find the problem let me know.
I have seen after undo, the
p
has NaNtGPsdata *p = op->customdata;```
Added subscriber: @ideasman42
L (key) / cmd z / crashto Grease Pencil: L (key) / cmd z / crashAdded subscriber: @lichtwerk
@lichtwerk Not sure this problem is only GP. I tested and the problem is the
customdata
of the operator is corrupted when use Undo. Not sure if this can be a problem for more operators.@antoniov gpencil_paint.c has undo function but gpencil_primitive.c doesn't. This might be the cause.
Not sure what OPTYPE_UNDO does in this case.
@CharlieJolly No idea...this was old code done before I enter in GP project. If you can, try your ideas and maybe works.
@antoniov I can't get Blender to crash.
@CharlieJolly For me fails always.
L
Ctrl+Z
@CharlieJolly Proposed fix:
/* We don't pass on key events, GP is used with key-modifiers -
if (ISKEYBOARD(event->type)) {
}
else if (ELEM(event->type, PAD0, PAD1, PAD2, PAD3, PAD4, PAD5, PAD6, PAD7, PAD8, PAD9)) {
/* allow numpad keys so that camera/view manipulations can still take place
This issue was referenced by
b99c616b9b
@antoniov I've managed to finally reproduce the bug and your fix works.
I can commit the fix under my name but might be better for you to commit as it is your fix!
Changed status from 'Open' to: 'Resolved'