Page MenuHome

Edge Index display not showing after "Select Boundary Loops" from a face selection
Closed, ResolvedPublicBUG


System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX TITAN X/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.20

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-20 14:27, hash: rB26bd5ebd42e3
Worked: (optional)

Short description of error
Edge Index display are not showing up after "select boundary loops" from a face selection

Exact steps for others to reproduce the error

  1. With the default Cube active, go to edit mode.
  2. Enable Indices (Viewport Overlay).
  3. Click in face selection mode and select one or more cube faces.
  4. Call "Select Boundary Loops" operator from Select - Select Loops in menu.
  5. index on edges wont show up untill you toggle modes (say, to vert selection and back to edges)

Revisions and Commits

Event Timeline

Germano Cavalcante (mano-wii) renamed this task from Edge Index display not showing after "select boundary loops" from a face selection to Edge Index display not showing after "Select Boundary Loops" from a face selection.Dec 11 2019, 7:37 PM
Germano Cavalcante (mano-wii) lowered the priority of this task from 90 to Low.
Germano Cavalcante (mano-wii) updated the task description. (Show Details)
Jeroen Bakker (jbakker) changed the subtype of this task from "Report" to "Bug".Jan 13 2020, 8:19 AM

I would say that the operator does not set/update all the flags when switching to the edge select mode.

if ((v3d->overlay.edit_flag & V3D_OVERLAY_EDIT_INDICES) && (em->selectmode & SCE_SELECT_EDGE)) {

The em->selectmode is in SCE_SELECT_FACE what is incorrect.

DRW_text_edit_mesh_measure_stats ob:2069163016 em:1479618440 selectmode:4
edbm_region_to_loop_exec         ob:1235487752 em:2068241416 selectmode:2
DRW_text_edit_mesh_measure_stats ob:2069163016 em:1479618440 selectmode:4

Seems like the data is set to a different object and therefore not seen during drawing. Fix is to tag the object to recalc its geometry. In the old behavior it tagged the selection of the mesh data, but that does nothing do anything.