GPencil: When cancel a extrude point, the point is not removed and creates two points on same location #79256
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#79256
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
Operating system: Darwin-19.3.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 580 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.5.5
Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-28 15:13, hash:
b21ba5e579
Short description of error
When a GPencil point at the end of a stroke is extruded, but the extrusion operation is cancelled before committing it, the Custom Curve of the thickness modifier seems to treat the stroke as though the cancelled point exists (the end of the stroke doesn't have the expected thickness applied by the modifier)
Exact steps for others to reproduce the error
thicknessextrudebug.blend
Added subscriber: @info-27
Added subscriber: @antoniov
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
The thickness modifier is working as expected, but the stroke has 2 points on the same coordinates.
I need review when you escape the extrude to Undo the created point. It looks is undoing the posicion, but must remove the point.
GPencil. Thickness modifier gives incorrect result if point extrude operation is cancelledto GPencil: When cancel a extrude point, the point is not removed and creates two points on same locationChanged status from 'Needs Developer To Reproduce' to: 'Archived'
I have been looking at code and how works a mesh and it has the same issue. If you add a mesh plane, and extrude one vertex and cancel, the vertex is added (now the plane has 5 vertex) but it's in the same location.
The problem is when you extrude (a mesh or a gpencil), you are executing two operatos, first the add point (this cannot be canceled) and later the transform (this can be canceled). As you extruded, but canceled the transform, really you only executed the first operator (add point). In your example, as both points are on the same position in the extreme of the stroke, the thickness modifier cannot calculate propertly the result.
As this is by design and due the internal design of the transform operators (not only for GPencil), we can consider this report is not a bug, but a design limitation in general, so I'm going to close it.
Thanks for the explanation. that helps me find a workaround for my use case.
In the case of a cancelled extrude, could Blender delete the newly created point(s) vertex(es)? or is there some case where you'd want them to remain there?