Undo in shader editor doesn't work if texture paint is open #63776

Closed
opened 2019-04-21 10:02:06 +02:00 by Essi Hagman · 4 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: AMD Radeon R9 200 Series ATI Technologies Inc. 4.5.13544 Core Profile Context 25.20.15011.1004

Blender Version
Broken: version: 2.80 (sub 57), branch: blender2.7, commit date: 2019-04-17 19:26, hash: b46245470f
Worked: (optional)

Short description of error
If an open window or split is in texture paint mode and another is in shader editor mode, changing a value in the shader editor then performing an undo does not undo the change. It appears in the undo history as if it has been (eye icon moves), but the undo is not applied. Undoing until you get to the past texture paint toggle applies the undo.

If you make multiple changes, none is undone until you undo the texture paint toggle.

Even when other actions are inbetween the value changes and the texture paint toggle, the shader editor changes are not undone until you get past the texture paint toggle. I.e., go to texture paint, draw a stroke, change something in shader editor, now you need to undo three times (change, stroke, texture paint toggle) before the change is undone in the shader editor.

Exact steps for others to reproduce the error
Default startup. Go to the "Texture Paint" tab. Switch the left split to shader editor mode. Change any value, e.g. the "Metallic" on the default Principled BSDF node. Undo (no noticed difference using the menu item vs. ctrl-z). The value change is not undone. Doing undo again, undoing the "Texture paint toggle" action undoes the value change (and leaves texture paint mode).

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: AMD Radeon R9 200 Series ATI Technologies Inc. 4.5.13544 Core Profile Context 25.20.15011.1004 **Blender Version** Broken: version: 2.80 (sub 57), branch: blender2.7, commit date: 2019-04-17 19:26, hash: `b46245470f` Worked: (optional) **Short description of error** If an open window or split is in texture paint mode and another is in shader editor mode, changing a value in the shader editor then performing an undo does not undo the change. It appears in the undo history as if it has been (eye icon moves), but the undo is not applied. Undoing until you get to the past texture paint toggle applies the undo. If you make multiple changes, none is undone until you undo the texture paint toggle. Even when other actions are inbetween the value changes and the texture paint toggle, the shader editor changes are not undone until you get past the texture paint toggle. I.e., go to texture paint, draw a stroke, change something in shader editor, now you need to undo three times (change, stroke, texture paint toggle) before the change is undone in the shader editor. **Exact steps for others to reproduce the error** Default startup. Go to the "Texture Paint" tab. Switch the left split to shader editor mode. Change any value, e.g. the "Metallic" on the default Principled BSDF node. Undo (no noticed difference using the menu item vs. ctrl-z). The value change is not undone. Doing undo again, undoing the "Texture paint toggle" action undoes the value change (and leaves texture paint mode).
Author

Added subscriber: @Essi

Added subscriber: @Essi
Campbell Barton was assigned by Sebastian Parborg 2019-04-25 13:00:03 +02:00

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

This is a known limitation of the undo system still, while in texture paint / sculpt / mesh edit mode only those operations can be undone, and nothing else.

This is a known limitation of the undo system still, while in texture paint / sculpt / mesh edit mode only those operations can be undone, and nothing else.
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
2 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#63776
No description provided.