Maniphest T85034

Sculpt: Shift + R (voxel grid preview) exits Sculpt Mode if the object has a Multires modifier
Closed, Duplicate

Assigned To
None
Authored By
Lopo Isaac (lopoIsaac)
Jan 25 2021, 11:25 AM
Tags
  • BF Blender
Subscribers
Lopo Isaac (lopoIsaac)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: Linux-5.4.0-62-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: GeForce GTX 670/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.32.03

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-01-24 23:16, hash: rBcf6d17a6aa42
Worked: ?

Short description of error
Pressing the shortcut Shift + R (voxel grid preview on the viewport inside Sculpt Mode) exits Sculpt Mode if the object has a Multires modifier with at least 1 subdivision.

Exact steps for others to reproduce the error

  1. Load Factory Settings
  2. Add a Multires Modifier to the default cube and press "Subdivide" so it has at least 1 subdivision level
  3. Enter Sculpt Mode and press Shift + R (default shortcut for previewing the voxel grid in the viewport)

Expected behaviour: we see the interactive voxel grid
Current behaviour: we return to Object Mode

Note: this doesn't happen if we add the modifier directly inside Sculpt Mode and press Shift + R. So it only happens if we enter Sculpt Mode and the object has the Multires + 1 or more levels.

Event Timeline

Lopo Isaac (lopoIsaac) created this task.Jan 25 2021, 11:25 AM
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).Jan 25 2021, 11:50 AM

Well, voxel_size_edit_poll uses object_remesh_poll which doesnt succeed. Meaning you cannot actually remesh with an active multires modifier.
If the operator poll fails, it will fallthrough to Repeat Last which is also mapped to +R -- which in your case does sculptmode toggeling again.

Philipp Oeser (lichtwerk) added a comment.Jan 25 2021, 12:08 PM

And since there is also T76655: Sculpt Mode: Edit Voxel Size hotkey conflict -- for which there is a patch ready, see D7726, I think we have to close this one.

Philipp Oeser (lichtwerk) closed this task as a duplicate of T76655: Sculpt Mode: Edit Voxel Size hotkey conflict.Jan 25 2021, 12:08 PM