X-ray toggle button in weight-paint mode is ignored (honors edit-mode setting instead) #81734

Open
opened 2020-10-15 14:25:31 +02:00 by Roman · 15 comments

System Information
Operating system: Linux
Graphics card: Intel

Blender Version
Broken: 2.91.0-a509e79a4c77-linux64
Worked: 2.80 - Xray was not changed when switching modes there

Short description of error
When in weight-paint mode, with select vertices enabled, the "Toggle X-ray" button in the upper right corner is ignored, does not allow to select vertices through the object (on both sides). But instead, if you switch to the edit mode, enable the x-ray mode, and then switch back to the weight-paint mode, then the vertex selection through object is turned on correctly. So oddly enough, the weight-paint mode x-ray is controlled from edit mode, ignoring its own x-ray toggle button.

Steps to reproduce
xray-weight-paint-bug.blend

  • Open file
  • Toggle X-ray mode
**System Information** Operating system: Linux Graphics card: Intel **Blender Version** Broken: 2.91.0-a509e79a4c77-linux64 Worked: 2.80 - Xray was not changed when switching modes there **Short description of error** When in weight-paint mode, with select vertices enabled, the "Toggle X-ray" button in the upper right corner is ignored, does not allow to select vertices through the object (on both sides). But instead, if you switch to the edit mode, enable the x-ray mode, and then switch back to the weight-paint mode, then the vertex selection through object is turned on correctly. So oddly enough, the weight-paint mode x-ray is controlled from edit mode, ignoring its own x-ray toggle button. **Steps to reproduce** [xray-weight-paint-bug.blend](https://archive.blender.org/developer/F8999594/xray-weight-paint-bug.blend) - Open file - Toggle X-ray mode
Author

Added subscriber: @rwman

Added subscriber: @rwman
Member

Added subscriber: @Mets

Added subscriber: @Mets

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I can't reproduce this. At least I think so. Having steps to follow and example file would be helpful here.

I just duplicated cube and move it so vertices are ocluded
Switched to weight paint
Enabled vertex selection
Enable X-ray
Selected all vertices

I can't reproduce this. At least I think so. Having steps to follow and example file would be helpful here. I just duplicated cube and move it so vertices are ocluded Switched to weight paint Enabled vertex selection Enable X-ray Selected all vertices

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Also can't redo this, please give exact steps.

Also can't redo this, please give exact steps.
Author

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Author

Ah. The important detail is that object should have armature modifier, and you first select armature, then shift-select the mesh object, and then enter weight paint mode. (so that you can ctrl-click on a bone to paint its weight over the mesh)
Here is the blend file demonstrating the bug, with a cylinder and armature:
xray-weight-paint-bug.blend

Ah. The important detail is that object should have armature modifier, and you first select armature, then shift-select the mesh object, and then enter weight paint mode. (so that you can ctrl-click on a bone to paint its weight over the mesh) Here is the blend file demonstrating the bug, with a cylinder and armature: [xray-weight-paint-bug.blend](https://archive.blender.org/developer/F8999594/xray-weight-paint-bug.blend)
Member

For a second I thought this report was about something else that I encountered. Now I don't think so anymore, but just in case it is related, I made a report for that here: #81843. If it turns out to be the same issue, feel free to merge mine back in here.

For a second I thought this report was about something else that I encountered. Now I don't think so anymore, but just in case it is related, I made a report for that here: #81843. If it turns out to be the same issue, feel free to merge mine back in here.

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

In #81734#1036949, @Mets wrote:
For a second I thought this report was about something else that I encountered. Now I don't think so anymore, but just in case it is related, I made a report for that here: #81843. If it turns out to be the same issue, feel free to merge mine back in here.

I think, these are different issues

> In #81734#1036949, @Mets wrote: > For a second I thought this report was about something else that I encountered. Now I don't think so anymore, but just in case it is related, I made a report for that here: #81843. If it turns out to be the same issue, feel free to merge mine back in here. I think, these are different issues

Added subscriber: @RNavega

Added subscriber: @RNavega

The way I see it is: in Weight Paint mode the Toggle X-Ray button still doesn't show hidden vertices. When used in Edit mode the hidden vertices appear like expected, but in Weight Paint mode they don't.

Here's a comparison image, the Toggle X-Ray, in Weight Paint mode, from Blender 2.79 vs Blender 2.91 (at the bottom of the image it's the 2.91 Edit mode for reference, which is what you expect would happen in Weight Paint mode):

Weight-Paint-ToggleXRay-Doesnt-Show-Hidden-Points.png

The way I see it is: in Weight Paint mode the Toggle X-Ray button still doesn't show hidden vertices. When used in Edit mode the hidden vertices appear like expected, but in Weight Paint mode they don't. Here's a comparison image, the Toggle X-Ray, in Weight Paint mode, from Blender 2.79 vs Blender 2.91 (at the bottom of the image it's the 2.91 Edit mode for reference, which is what you expect would happen in Weight Paint mode): ![Weight-Paint-ToggleXRay-Doesnt-Show-Hidden-Points.png](https://archive.blender.org/developer/F9389072/Weight-Paint-ToggleXRay-Doesnt-Show-Hidden-Points.png)

Removed subscriber: @RNavega

Removed subscriber: @RNavega
Philipp Oeser removed the
Interest
EEVEE & Viewport
label 2023-02-09 15:14:27 +01:00
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
5 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#81734
No description provided.