Undo bug while sculpting #82851

Closed
opened 2020-11-19 19:33:05 +01:00 by Sergey · 13 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-19 16:19, hash: 72a199e148
Worked: (newest version of Blender that worked as expected)

Short description of error
When using undo during sculpting, both the last stroke and the last subdivision level are canceled at the same time.

Exact steps for others to reproduce the error
1 - With the default General scene, got to Sculpt Mode
2 - Add multiresolution
3 - Add a few levels of subdivision
4 - Make a stroke
5 - Press Ctrl+Z (nothing happens)
6 - Press Ctrl+Z again (Both stroke and add last subd level canceled)

The problem occurs only when you try to undo the first stroke after adding a subdivision layer

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce RTX 2070 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71 **Blender Version** Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-11-19 16:19, hash: `72a199e148` Worked: (newest version of Blender that worked as expected) **Short description of error** When using undo during sculpting, both the last stroke and the last subdivision level are canceled at the same time. **Exact steps for others to reproduce the error** 1 - With the default General scene, got to Sculpt Mode 2 - Add multiresolution 3 - Add a few levels of subdivision 4 - Make a stroke 5 - Press Ctrl+Z (nothing happens) 6 - Press Ctrl+Z again (Both stroke and add last subd level canceled) The problem occurs only when you try to undo the first stroke after adding a subdivision layer
Author

Added subscriber: @borschberry

Added subscriber: @borschberry

Added subscriber: @TheRedWaxPolice

Added subscriber: @TheRedWaxPolice

Yeah, I reported a similar issue here... #82388#1056677

Yeah, I reported a similar issue here... #82388#1056677

Added subscriber: @mano-wii

Added subscriber: @mano-wii

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

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

I can confirm.

I can confirm.

Added subscriber: @mont29

Added subscriber: @mont29
Bastien Montagne self-assigned this 2020-11-23 10:54:57 +01:00

@TheRedWaxPolice much better to have a new report, easier to keep track of things...

But indeed almost certainly same root issue as in #82388, will check.

@TheRedWaxPolice much better to have a new report, easier to keep track of things... But indeed almost certainly same root issue as in #82388, will check.

OK, so don't think this is related to previous #82388 actually. Object and mesh do get re-read from memory as expected, yet the sculpt stroke remains visible.

Not sure what is going on here, not even sure how that is possible, since undoing (and re-reading object) should nuke all sculpting data. Could be related to how multires works... need more investigation work. :(

OK, so don't think this is related to previous #82388 actually. Object and mesh do get re-read from memory as expected, yet the sculpt stroke remains visible. Not sure what is going on here, not even sure how that is possible, since undoing (and re-reading object) should nuke all sculpting data. Could be related to how multires works... need more investigation work. :(
Contributor

Added subscriber: @Gilberto.R

Added subscriber: @Gilberto.R
Contributor

I think this could be related to my report. I also get multiple things undone at once, but in edit mode. https://developer.blender.org/T82991

I think this could be related to my report. I also get multiple things undone at once, but in edit mode. https://developer.blender.org/T82991

This is actually same issue as #82532: basically, first sculpt undo step will never be undone in current code (fact that it gets undone on redo is expected due to internal behavior of sculpt undo steps). New memfile undo does not cause any new issue here, it merely reveals existing ones, since it does not do a full complete re-read of the file data anymore, but typically only updates a few IDs.

See #83806.

This is actually same issue as #82532: basically, first sculpt undo step will never be undone in current code (fact that it gets undone on redo is expected due to internal behavior of sculpt undo steps). New memfile undo does not cause any new issue here, it merely reveals existing ones, since it does not do a full complete re-read of the file data anymore, but typically only updates a few IDs. See #83806.

Closed as duplicate of #82532

Closed as duplicate of #82532
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#82851
No description provided.