Page MenuHome

Click-and-Drag the Cursor with Snapping enabled and an Active Object selected missplaces the Cursor
Confirmed, LowPublic

Description

System Information
Operating system: Linux-5.2.9-125.current-x86_64-with-glibc2.9 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.40

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: rBf6cb5f54494e
Worked: None so far

Short description of error
Dragging the cursor and snapping it to a Vertex while having the Target set to Active makes the cursor snap to a point in space that is directly related to where you start your click-and-drag instruction in reference to the selected object's origin.

Exact steps for others to reproduce the error

  1. Change snapping to Vertex, Edge or Face
  2. Change snapping target to Active
  3. Set active tool to Cursor
  4. Activate snapping during transform
  5. Select default cube
  6. Drag Cursor over cube

Important notes

  • If you deselect everything it works, but while there's an object selected the snapping won't work.
  • The problem also happens in Edit Mode, but only if there's an object selected in Object Mode. If you deselect everything in Object Mode and then go back to Edit Mode it works as intended.
  • As far as I can tell the _offset_ of the snapping is directly related to where you start your click-and-drag in regards to the Objects Origin.
  • I recorded a video showing the problem:
  • I also uploaded the blend file I used to record the video:

Event Timeline

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Thu, Jan 2, 7:16 PM
Philipp Oeser (lichtwerk) triaged this task as Low priority.

Looks like a bug to me.

The offset seems to be the negative distance between active object in relation to the snap element.
Makes sense if you actually have other objects selected, to me it doesnt really make sense for the cursor tool.
(In a way, snapping with active using the cursor doesnt really make sense to begin with, but...)

It is probably best to have no offset at all using the cursor.

@Germano Cavalcante (mano-wii): Would you agree?

(confirming for now with low prio...)

(...)
It is probably best to have no offset at all using the cursor.

It may be better, but it is not the most correct.
Snap with Active indicates that you use the origin of the active object as the point to snap with.
The problem here is that two operations happen: One when you click and other when you drag the cursor.

When you click with the mouse button, the 3d cursor is projected elsewhere.
Thus origin is no longer in the expected place when you drag, move and snap the 3d cursor.

This is a keymap issue, I'm not sure how to avoid this.