3d cursor with snap to vertex enabled will not snap to grease pencil points/vertex. #85786

Closed
opened 2021-02-19 09:49:56 +01:00 by matt dudley · 9 comments

System Information
Operating system: Linux-5.10.16-artix1-1-x86_64-with-glibc2.33 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.39

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-18 23:56, hash: 4604350eef
Worked: NA

Short description of error
3dcursor_grease_snap_bug.blend
3d cursor with snap to vertex enabled will not snap to grease pencil points/vertex.

  • This is unexpected as the 3d cursor with snap to vertex enabled will snap to all other vertex/point types including bezier, path and poly curves converted from grease pencil.

Exact steps for others to reproduce the error
From default cube scene:
go to snapping ui, enable snap to vertex, enable snapping during transform, (click magnet icon or hotkey shift+tab)

add a blank grease pencil object to scene:
shift+A choose grease pencil>blank
select draw mode, draw a stroke.

choose cursor tool or use shift+right-click to place cursor:
drag cursor over grease pencil stroke, it does not snap to any points related to grease pencil.

next convert grease pencil stroke to other curve object types, the cursor will snap to those object types' points/vertex:
leave draw mode and go to object mode of grease pencil object.
choose Object>Convert>Path
Select and move the Path object (named GP_Layer) from outliner, so you can see it separately from grease pencil stroke.

See that the 3d cursor will snap to the Path object. Repeat the Convert steps with Bezier and Poly Curve object types. They snap as expected.

A .blend file is attached with each of the different object types converted and snapping enabled.
thank you!

**System Information** Operating system: Linux-5.10.16-artix1-1-x86_64-with-glibc2.33 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.39 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-02-18 23:56, hash: `4604350eef` Worked: NA **Short description of error** [3dcursor_grease_snap_bug.blend](https://archive.blender.org/developer/F9816984/3dcursor_grease_snap_bug.blend) 3d cursor with snap to vertex enabled will not snap to grease pencil points/vertex. - This is unexpected as the 3d cursor with snap to vertex enabled will snap to all other vertex/point types including bezier, path and poly curves converted from grease pencil. **Exact steps for others to reproduce the error** From default cube scene: go to snapping ui, enable snap to vertex, enable snapping during transform, (click magnet icon or hotkey shift+tab) add a blank grease pencil object to scene: shift+A choose grease pencil>blank select draw mode, draw a stroke. choose cursor tool or use shift+right-click to place cursor: drag cursor over grease pencil stroke, it does not snap to any points related to grease pencil. next convert grease pencil stroke to other curve object types, the cursor will snap to those object types' points/vertex: leave draw mode and go to object mode of grease pencil object. choose Object>Convert>Path Select and move the Path object (named GP_Layer) from outliner, so you can see it separately from grease pencil stroke. See that the 3d cursor will snap to the Path object. Repeat the Convert steps with Bezier and Poly Curve object types. They snap as expected. A .blend file is attached with each of the different object types converted and snapping enabled. thank you!
Author

Added subscriber: @mdudley

Added subscriber: @mdudley
Member

Added subscribers: @mano-wii, @lichtwerk

Added subscribers: @mano-wii, @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Can confirm it is not working.

This is just not implemented though (there is no raycasting against greasepencil afaict)

@mano-wii: is this something you want to keep as TODO? (it is not a bug)

Can confirm it is not working. This is just not implemented though (there is no raycasting against greasepencil afaict) @mano-wii: is this something you want to keep as TODO? (it is not a bug)

Added subscriber: @antoniov

Added subscriber: @antoniov

Right, this is not supported. It's the same with active vertex, not supported yet.

Right, this is not supported. It's the same with active vertex, not supported yet.

It is indeed something that can be implemented.
But it is not like a simple fix to be seen as a bug fix.
So I added the task to #73993 (Snapping & precision modeling improvements).

It is indeed something that can be implemented. But it is not like a simple fix to be seen as a bug fix. So I added the task to #73993 (Snapping & precision modeling improvements).

Closed as duplicate of #85790

Closed as duplicate of #85790
Member

So shall we merge this with #85790 (Snap support for Grease Pencil objects) then?
(no need to have two tasks open for this, right?)

So shall we merge this with #85790 (Snap support for Grease Pencil objects) then? (no need to have two tasks open for this, right?)
Sign in to join this conversation.
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
4 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#85786
No description provided.