Page MenuHome

Loop cut with snap-to-increment does not obey custom grid subdivisions.
Closed, ArchivedPublic

Description

System Information
Operating system: Debian
Graphics card:

Blender Version
Broken: 2.91.0
Worked: (newest version of Blender that worked as expected)

Short description of error

Loop cut (CTRL-R) does not snap as expected if the custom grid subdivisions is changed by user.

Exact steps for others to reproduce the error

  1. Start blender.
  2. Hit Shift-Tab to enable snapping, and in the "Snap To" drop-down, select "Increment".
  3. In the "Scene Properties" tab of the "Properties" panel, expand the "Units" section and set "Unit System" to "None". (otherwise step 4 is impossible)
  4. In the upper right corner of the 3D viewport, in the "Overlays" menu, change "Subdivisions" from 10 to 16.
  5. hit numpad-7 to go to top orthographic view.
  6. In the floor grid, you can see that the default cube occupies 2x2 grid elements.
  7. Use the mouse wheel to zoom so that you can see the 16x16 smaller grid within each of the floor's grid elements. You must be able to see them in order to reproduce the bug.
  8. While the 16x16 grid is visible, Tab into "Edit Mode"
  9. Hover the mouse cursor over the bottom edge of the cube, and hit Ctrl-R to invoke "Loop Cut".
  10. left-click to accept a single loop. It appears as a vertical yellow/orange line.
  11. Drag the mouse to the left, causing the loop cut to snap in increments. >>> THIS IS THE BUG <<<
  12. Notice that in spite of setting "Snap To" to "Increment in step 2, the loop cut does not snap to the 16 grid elements. Instead it snaps unevenly between them.
  13. I believe this is a bug because increment snapping should cause the loop cut to snap to each of the 16 grid elements in turn. Instead, "loop cut" snaps 10 times, corresponding to the original value of 10 in the grid "Subdivisions". I suspect "loop cut" is not taking account of the value of the the floor grid subdivisions when calculating where to snap.

Thanks,
Zack

Event Timeline

Zack Brown (Zackrobat) renamed this task from Loop cut with snap-to-increment does not obey custom grid size. to Loop cut with snap-to-increment does not obey custom grid subdivisions..Dec 15 2020, 9:40 PM
Zack Brown (Zackrobat) created this task.

This can be confusing, but Increments in this case is not Grid.
Snap increment in Edge slide is the factor (between 0.0 and 1.0) that is jumped in steps (1/10 of this factor).
Depending on the transform mode, increment can be angle, distance, factor....

For convenience, for the Move mode, increment matches the grid.
There is a patch proposing to implement the snap to grid -> D6970: Transform: Make 'Absolute Grid Snapping' a new Snap Mode