Undo unavailable for Remove Vertex Group in edit mode #71980

Open
opened 2019-11-27 19:53:04 +01:00 by Stellarator Tokamak · 19 comments

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

Blender Version
Broken: version: 2.82 (sub 1), branch: master, commit date: 2019-11-27 03:54, hash: 4fd99c9495

Bug description
After remove a vertex group from a mesh while in edit mode, the undo operator still works, but undo buffer does not seem to contain the remove vertex group operation, so using undo undoes whatever was done before the removal of vertex group. On entering object mode, using undo will undo the vertex group removal operation before any mesh editing, leading to confusing out-of-order undo operations

Repro steps:
Create new mesh
Create vertex group
Switch to edit mode
Move a vertex to make an obvious visible change
Remove vertex group
Move another vertex visibly
Switch to object mode
Use 'undo' operator multiple times
'undo' operator will undo vertex transforms, and appear to do nothing when it reaches the point in the undo buffer where it ought to undo 'remove vertex group'
Switch to object mode
Use 'undo' operator
Removed vertex group is back, and edit mode is active

I won't lay out all of the variations, but for more complicated failure modes with weirder out-of-order undo operations, try:

  • move vertex, remove group, move other vertex, switch to object mode, use undo function

  • create two vertex groups before entering edit mode, move vertex, delete first vertex group, move another vertex, delete second vertex group, move a third vertex. Enter object mode and use 'undo' operator

system-info.txt

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.01 **Blender Version** Broken: version: 2.82 (sub 1), branch: master, commit date: 2019-11-27 03:54, hash: `4fd99c9495` **Bug description** After remove a vertex group from a mesh while in edit mode, the undo operator still works, but undo buffer does not seem to contain the remove vertex group operation, so using undo undoes whatever was done *before* the removal of vertex group. On entering object mode, using undo will undo the vertex group removal operation *before* any mesh editing, leading to confusing out-of-order undo operations **Repro steps:** Create new mesh Create vertex group Switch to edit mode Move a vertex to make an obvious visible change Remove vertex group Move another vertex visibly Switch to object mode Use 'undo' operator multiple times 'undo' operator will undo vertex transforms, and appear to do nothing when it reaches the point in the undo buffer where it ought to undo 'remove vertex group' Switch to object mode Use 'undo' operator Removed vertex group is back, and edit mode is active I won't lay out all of the variations, but for more complicated failure modes with weirder out-of-order undo operations, try: * move vertex, remove group, move other vertex, switch to object mode, use undo function * create two vertex groups before entering edit mode, move vertex, delete first vertex group, move another vertex, delete second vertex group, move a third vertex. Enter object mode and use 'undo' operator [system-info.txt](https://archive.blender.org/developer/F8172809/system-info.txt)

Added subscriber: @AdrianPreston

Added subscriber: @AdrianPreston

#96192 was marked as duplicate of this issue

#96192 was marked as duplicate of this issue

#92026 was marked as duplicate of this issue

#92026 was marked as duplicate of this issue

#78022 was marked as duplicate of this issue

#78022 was marked as duplicate of this issue

Added subscriber: @Stan_Pancakes

Added subscriber: @Stan_Pancakes

Brace for incoming "this is a limitation of current undo system". Which exists for eons now :(

Brace for incoming "this is a limitation of current undo system". Which exists for eons now :(

It wasn't present in 2.7x, if that helps. Has the undo system been redone?

It wasn't present in 2.7x, if that helps. Has the undo system been redone?

It was present. You can't undo removal of vertex group in edit mode. In 2.7x and in 2.6x.

It was present. You can't undo removal of vertex group in edit mode. In 2.7x and in 2.6x.

Well I'll be damned. I just checked, and I could have sworn it worked, but you are right. Well, still... I guess it is for devs to decide if it is a bug or not, but it certainly isn't as the user would expect.

Well I'll be damned. I just checked, and I could have sworn it worked, but you are right. Well, still... I guess it is for devs to decide if it is a bug or not, but it certainly isn't as the user would expect.
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Unfortunately, that is probably a known limitation indeed..

Unfortunately, that is probably a known limitation indeed..
Member

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

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

Added subscribers: @michaeleconomy, @mano-wii

Added subscribers: @michaeleconomy, @mano-wii

Added subscriber: @ckohl_art

Added subscriber: @ckohl_art
Member

Added subscribers: @borschberry, @PratikPB2123

Added subscribers: @borschberry, @PratikPB2123

Added subscriber: @Ethan-Hall

Added subscriber: @Ethan-Hall

Blender currently prevents users from removing material slots while in edit mode. Can we similarly limit the ability to remove vertex weights and other attributes to protect users from out of order undo side effects until the undo system is reworked?

Blender currently prevents users from removing material slots while in edit mode. Can we similarly limit the ability to remove vertex weights and other attributes to protect users from out of order undo side effects until the undo system is reworked?
Member

Added subscriber: @Emwardicus

Added subscriber: @Emwardicus

Added subscriber: @DaveyJolms

Added subscriber: @DaveyJolms
Philipp Oeser removed the
Interest
Core
label 2023-02-09 14:43:16 +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
9 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#71980
No description provided.