Edge Index display not showing after "Select Boundary Loops" from a face selection #72250

Closed
opened 2019-12-07 13:10:20 +01:00 by Kjell Emanuelsson · 5 comments

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: 26bd5ebd42
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)
**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: `26bd5ebd42` 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)

Added subscriber: @Kjell-1

Added subscriber: @Kjell-1
Germano Cavalcante changed title 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 2019-12-11 19:37:49 +01:00

Added subscriber: @mano-wii

Added subscriber: @mano-wii
Jeroen Bakker self-assigned this 2020-01-07 12:39:18 +01:00
Member

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

#72250.blend

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.

I would say that the operator does not set/update all the flags when switching to the edge select mode. [#72250.blend](https://archive.blender.org/developer/F8275358/T72250.blend) `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.

This issue was referenced by 44231386e4

This issue was referenced by 44231386e42bc096ef0891e94e70b95263aa80d1
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#72250
No description provided.