Page MenuHome

[Edit Mesh] overlay of linked meshes in Edit Mode. [2.82 regression]
Confirmed, HighPublicBUG

Description

System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.82 (sub 6), branch: master, commit date: 2020-01-12 16:23, hash: rB0ef881cc5782
Worked: (optional)

Short description of error
References in Edit Mode don't show selected\deselected vertices\edges on each over (like in previouse versions (2.8, 2.81a))
Is this bug or maybe feature? If it is feature, do you be so pleasure to help found it on interface or hotkey? It hard to work without it. I had to downgrade to 2.81a, and work without cool 2.82's features.

Exact steps for others to reproduce the error

  • select object
  • make some duplicate linked (alt+D or from menu)
  • enter on "Edit Mode
  • look on references - you don't see any selected vertices\edges\faces (like in 2.8 or 2.81)
  • try to change something- loop cut on example
  • exit to "Object Mode" - you'll see all new edges (if get an wireframe on shaded)
  • try to enter "Edit Mode" again - all edges in "wireframe on shaded mode" dissapeared!


Event Timeline

Oleksandr Kahal (ignietferro) renamed this task from [References] References in Edit Mode to [References] References in Edit Mode. 2.82.Mon, Jan 13, 6:16 PM

This behavior was introduced by this Git commit 07a959067d5a3c05fcbd65105525d6e139be5c5f (rB07a959067d5a).

So it means it would be? And references now couldn't be exactly as in previous versions? Or it is going to resolve in the future? Maybe I didn't understand something... I'm not coder, I'm 3D artist.

@Oleksandr Kahal (ignietferro): As far as I can see it was not intended to let it behave like this, but it is also likely that this behavior is a result of a necessary change to prevent Blender to crash in some situations like this one: https://developer.blender.org/T72848

However: My comment with that weird string wasn't addressed to you personally but for other developers to investigate this issue faster (if and when someone has time to investigate). :)

@ ronsn (ronsn) Big thanks for explanation! I'll be waiting for resolvation of that issue.

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.Tue, Jan 14, 5:50 PM
Germano Cavalcante (mano-wii) triaged this task as High priority.
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

I can confirm that rB07a959067d5a introduced the problem.
@Campbell Barton (campbellbarton), mind taking a look?

Germano Cavalcante (mano-wii) renamed this task from [References] References in Edit Mode. 2.82 to [Edit Mesh] overlay of linked meshes in Edit Mode. [2.82 regression].Tue, Jan 14, 5:52 PM

I think i've tracked it down to this line in overlay_engine.c:

188   const bool in_edit_mode = (ob->mode & OB_MODE_EDIT) && BKE_object_is_in_editmode(ob);

As stated by @ ronsn (ronsn) and @Germano Cavalcante (mano-wii) it was introduced in rB07a959067d5a,
so simply changing it back to

188   const bool in_edit_mode = BKE_object_is_in_editmode(ob);

will resolve the issue.
However, testing https://developer.blender.org/T72848 causes a segfault.

Tagging with 2.82 since this was marked as high priority and is a regression.