Vertex weight smooth operator + undo causes active vertex group index to change #106415

Closed
opened 2023-04-01 07:57:25 +02:00 by rich202020 · 5 comments

System Information
Operating system: Linux Mint
Graphics card: AMD 6800xt

Blender Version
Currently 3.5.0, but this bug has been around as long as I've been using Blender on several older versions and while using Windows as well.

Short description of error

  • Have a rigged mesh, switch to weight paint mode, select a vertex group that's not the last one.
  • Call vertext weight smooth operator on a mesh.
  • Undo or Adjust the value inside the operator properties panel, the active vertex group should stay the one you selected, but it jumps to a different one (Looks to be the active one after the previous operator had acted upon). See video below for details.

Or use the provided file:

  • Select Bone.002 vertex group.
  • Call vertex weight smooth operator.
  • Set "Iterations" to 2 or Undo. active vertex group became Bone.003 again.

Original description:

On a rigged model with an armature and multiple vertex groups, if you use the Smooth operation and then change the smooth iterations, it jumps to a different vertex group. Video: https://www.youtube.com/watch?v=zY20jZRWh2A

I should've reported this years ago, but it's often only been a minor inconvenience and I always felt so sure that something so obvious would get patched out eventually, but it's been here for a very long time.

**System Information** Operating system: Linux Mint Graphics card: AMD 6800xt **Blender Version** Currently 3.5.0, but this bug has been around as long as I've been using Blender on several older versions and while using Windows as well. **Short description of error** - Have a rigged mesh, switch to weight paint mode, select a vertex group that's not the last one. - Call vertext weight smooth operator on a mesh. - Undo or Adjust the value inside the operator properties panel, the active vertex group should stay the one you selected, but it jumps to a different one (Looks to be the active one after the previous operator had acted upon). See video below for details. Or use the provided file: - Select `Bone.002` vertex group. - Call vertex weight smooth operator. - Set "Iterations" to 2 or Undo. active vertex group became `Bone.003` again. Original description: On a rigged model with an armature and multiple vertex groups, if you use the Smooth operation and then change the smooth iterations, it jumps to a different vertex group. Video: https://www.youtube.com/watch?v=zY20jZRWh2A I should've reported this years ago, but it's often only been a minor inconvenience and I always felt so sure that something so obvious would get patched out eventually, but it's been here for a very long time.
rich202020 added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-04-01 07:57:26 +02:00
Member

Can confirm the issue. This seems to be related to the undo system. Executing weight smooth operator itself won't change the active vertex group index, but tuning the value (undo and exec) or simply ctrl-z would cause the change.

My guess is that the undo system somehow didn't record/restore the active vertex group index when it's changed without an operator being called.

Can confirm the issue. This seems to be related to the undo system. Executing weight smooth operator itself won't change the active vertex group index, but tuning the value (undo and exec) or simply ctrl-z would cause the change. My guess is that the undo system somehow didn't record/restore the active vertex group index when it's changed without an operator being called.
YimingWu added
Module
Core
Status
Confirmed
Interest
Undo
and removed
Status
Needs Triage
labels 2023-04-01 08:39:36 +02:00
YimingWu changed title from Changing Smooth command Iterations in Weight Paint mode switches to a different vertex group to Vertex weight smooth operator + undo causes active vertex group index to change 2023-04-01 08:48:28 +02:00

This indeed sounds like yet another issues caused by mixing memfile undo with non-memfile undos...

This indeed sounds like yet another issues caused by mixing memfile undo with non-memfile undos...
Bastien Montagne added
Type
Known Issue
and removed
Type
Report
labels 2023-04-18 15:18:49 +02:00
Member

This is the same as #69760, no?

This is the same as #69760, no?

Looks like it indeed....

Looks like it indeed....
Member

OK, will merge reports then.

if you want further updates, please subscribe in #69760.

OK, will merge reports then. if you want further updates, please subscribe in #69760.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-04-18 16:14:51 +02:00
Philipp Oeser added
Status
Duplicate
and removed
Status
Archived
labels 2023-04-18 16:15:18 +02: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
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#106415
No description provided.