Bug Report: Undo in Shader Editor, while in Edit Mode #68416
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#68416
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.35
Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash:
f6cb5f5449
Worked: (optional)
Short description of error
Undo in Shader Editor when in Edit Mode is not working, CTRL-Z or Edit->Undo is not working like expected.
When you enter Edit Mode, every edit you do in the Shader Editor is not recorded as a single undo-step. While in Edit Mode you can't undo the changes step by step that's been done in the Shader Editor.
Only when you go back to Object Mode, and than do an undo, it will undo everything that's been edited in the Shader Editor to the moment just before you went to Edit Mode.
What the expected behavior would be is regardless the Mode you're in or have been in, it should go through all the little undo steps. That is what it also does when you undo steps from mesh edits and object edits, it automatically switches modes if that's what has happened. Now in Edit Mode the Undo does not respond to any Undo from edits in the Shader Editor.
Exact steps for others to reproduce the error
Added subscriber: @Jorne
Added subscriber: @Mets
I can reproduce this. The undo steps actually do show up in the undo history (Ctrl+Alt+Z) - They however don't do anything. That is to say, going back in the undo history doesn't do anything, until you go back to the moment you switched to edit mode, which will undo everything that you did in the shader editor. The undo(or in this case, redo) steps at this stage still show up in the history, but they still don't do anything, which is to say, your changes are now lost since you cannot redo them.
This has the potential to lose work for users! That's as bad or worse than a crash imo! :)
Added subscriber: @brecht
Changed status from 'Open' to: 'Archived'
This is a known limitation of the undo system. While it would be good to improve, for now you can only undo mesh edit operations in edit mode.
In that case, shader editing should simply be disabled when the user is not in Object mode.
Added subscriber: @deCalle123
This comment was removed by @deCalle123
Added subscriber: @ParallelMayhem