Unable to select vertex paint face mask faces while retopology overlay is active #107768

Open
opened 2023-05-09 02:21:19 +02:00 by dgkf · 9 comments

System Information
Operating system: Ubuntu 23.04
Graphics card: AMD Radeon RX 570

Blender Version
Broken: main (e151425c5c1085d7be5f8bb2ad694a869bc16dc7)

Short description of error
If the new retopology overlay is active in edit mode, vertex paint faces can't be selected

Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).

  1. With default cube in Edit mode, enable the Retopology overlay
  2. Switch to Vertex Paint mode
  3. Enable face selection masking
  4. Try to select a face

A small video is attached, showing first successful selection of a vertex paint face mask while the retopology overlay is inactive, then the inability to select vertex paint face mask faces after it's activated.

**System Information** Operating system: Ubuntu 23.04 Graphics card: AMD Radeon RX 570 **Blender Version** Broken: `main` (`e151425c5c1085d7be5f8bb2ad694a869bc16dc7`) **Short description of error** If the new retopology overlay is active in edit mode, vertex paint faces can't be selected **Exact steps for others to reproduce the error** Based on the default startup or an attached .blend file (as simple as possible). 1. With default cube in _Edit_ mode, enable the Retopology overlay 2. Switch to _Vertex Paint_ mode 3. Enable face selection masking 4. Try to select a face A small video is attached, showing first successful selection of a vertex paint face mask while the retopology overlay is inactive, then the inability to select vertex paint face mask faces after it's activated.
dgkf added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-05-09 02:21:20 +02:00
Member

Can confirm. Assuming this never worked since the retopology overlay is a new feature. Set high for recentness.

Can confirm. Assuming this never worked since the retopology overlay is a new feature. Set high for recentness.
Member

@JulienKaspar Does it make sense to have retopoly overlay enabled for vertex paint mode?
I can imagine we only draw the retopology overlay in edit mode where it makes sense.

Ps I don't consider this a high priority issue as it users can still work with vertex paint by disabling the overlay. Note that this should be fixed for the next release

@JulienKaspar Does it make sense to have retopoly overlay enabled for vertex paint mode? I can imagine we only draw the retopology overlay in edit mode where it makes sense. Ps I don't consider this a high priority issue as it users can still work with vertex paint by disabling the overlay. Note that this should be fixed for the next release
Jeroen Bakker added this to the 3.6 LTS milestone 2023-05-09 16:30:44 +02:00
Jeroen Bakker added
Priority
Normal
and removed
Priority
High
labels 2023-05-09 16:31:07 +02:00
Member

The overlay should only be for Edit Mode yes.

The overlay should only be for Edit Mode yes.
Member

I got this far and it apparently still didn't work 😅

edit: see the patch in the next comment

I got this far and it apparently still didn't work 😅 edit: see the patch in the next comment
Member

Well this is working for selection but apparently I broke some more display stuff than just get it to work. 😅

I suggest renaming DRW_object_is_in_edit_mode to something like DRW_object_should_not_occlude_selection and have another separate function for the display portion of that similar call, so we don't use them interchangeably leading to confusion.

Well this is working for selection but apparently I broke some more display stuff than just get it to work. 😅 I suggest renaming `DRW_object_is_in_edit_mode` to something like `DRW_object_should_not_occlude_selection` and have another separate function for the display portion of that similar call, so we don't use them interchangeably leading to confusion.
Member

Entering vertex paint mode now gives me an Attempt to free a NULL pointer error, somewhere around ss->pmap = blender::bke::mesh::build_vert_to_poly_map

I don't think it's very relevant to this specific issue tho

Entering vertex paint mode now gives me an `Attempt to free a NULL pointer` error, somewhere around `ss->pmap = blender::bke::mesh::build_vert_to_poly_map` I don't think it's very relevant to this specific issue tho
Member

Still broken on current main.

Still broken on current main.
Member

@Jeroen-Bakker To make sure this issue is fixed for the next release, shouldn't it be set to high priority?

@Jeroen-Bakker To make sure this issue is fixed for the next release, shouldn't it be set to high priority?
Member

Ps I don't consider this a high priority issue as it users can still work with vertex paint by disabling the overlay. Note that this should be fixed for the next release

The problem I see for now is that the user might be switching from edit mode to vertex paint/weight paint and the overlay switch could still be on and users won't know the difference either, leading to confusion. So I think it can be set as high priority?

> Ps I don't consider this a high priority issue as it users can still work with vertex paint by disabling the overlay. Note that this should be fixed for the next release The problem I see for now is that the user might be switching from edit mode to vertex paint/weight paint and the overlay switch could still be on and users won't know the difference either, leading to confusion. So I think it can be set as high priority?
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#107768
No description provided.