Maniphest T80274

Visibility not correctly synced between Sculpt & Edit Mode
Closed, ResolvedBUG

Assigned To
Germano Cavalcante (mano-wii)
Authored By
Julien Kaspar (JulienKaspar)
Aug 31 2020, 12:08 PM
Tags
  • BF Blender
  • Sculpt, Paint & Texture
Subscribers
Germano Cavalcante (mano-wii)
Julien Kaspar (JulienKaspar)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: Linux-5.4.0-42-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: Quadro GP100/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-28 09:08, hash: rB346023b457d3

Short description of error
When hiding geometry in Edit or Sculpt Mode it used to be synced (except when using the Multires modfiier).
But it's no longer the case because Sculpt Mode seems to ignore any changes to visibility from Edit Mode.
This also causes wires or the geometry to be missing in Edit Mode unless pressing Alt + H.

Exact steps for others to reproduce the error
Here I am using a subdivided cube but this works with any object.
I am switching between sculpt & edit mode while hiding & hiding geometry via edit mode selection, hide masked and face set visibility and comparing how they are synced between the modes:

A:

  • Select geometry in edit mode and hide with H
  • Switch to sculpt mode and the geometry is visible again
  • Switch to edit mode and the geometry is hidden again but vertices are visible in vertex selection

B:

  • Mask geometry in sculpt mode and hide it via Sculpt -> Hide Masked
  • Switch to edit mode and the geometry is hidden as well
  • Unhide the hidden geometry
  • Switch to sculpt mode and the geometry is hidden again
  • Switch back to edit mode and the geometry is shown but the edit mode wires are hidden
  • Unhiding with Alt + H will not select the previously hidden geometry

C:

  • Create a face set either from the mask or by painting a new one with the face set brush
  • Hide a face set with H
  • Switch to edit mode and the visibility should be the same
  • Unhide with Alt + H and switch back to sculpt mode
  • The geometry is hidden again
  • Switch back to edit mode and the geometry is shown but the edit mode wires are gone

Related Objects

Mentioned In
T93936: Hidden geometry in editmode gets visible again after visiting weightpaint/sculptmode [visiting sculptmode again afterwards can be a workaround]
Mentioned Here
rBcacd57b67a15: Fix T80771: Avoid changing the visibility of loose geometry when entering…

Event Timeline

Julien Kaspar (JulienKaspar) created this task.Aug 31 2020, 12:08 PM
Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Sep 2 2020, 2:41 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".
Germano Cavalcante (mano-wii) added a project: Sculpt, Paint & Texture.
Germano Cavalcante (mano-wii) added a subscriber: Germano Cavalcante (mano-wii).

I can confirm each case. They do seem related. And it used to work in 2.83.

Philipp Oeser (lichtwerk) changed the task status from Confirmed to Needs Information from User.Nov 16 2020, 12:06 PM
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

@Julien Kaspar (JulienKaspar): this seems to be fixed now, can you confirm?

I tested it in 2.92 and 2.91 beta
Havent hunted down the exact commit, but I assume it was rBcacd57b67a15: Fix T80771: Avoid changing the visibility of loose geometry when entering…?

Germano Cavalcante (mano-wii) closed this task as Resolved.Nov 27 2020, 2:56 PM
Germano Cavalcante (mano-wii) claimed this task.

In fact, it seems to have been resolved.