Undoing 'create transformation orientation' makes selected transform orientation blank. #42468
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#42468
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
Linux 64bit
Blender Version
Broken: 2.72b, 2.71 (and lower?)
Short description of error
Creating custom transformation orientation can be undone, but doing so will set transformation orientation dropdown in 3D view header to blank value.
Exact steps for others to reproduce the error
Changed status to: 'Open'
Added subscriber: @Stan_Pancakes
#46011 was marked as duplicate of this issue
Added subscriber: @ideasman42
The issue here is screen data is stored separate to blend-file data, so undo/redo can make them out-of-sync.
Added subscriber: @Sergey
@ideasman42, shall we run some sort of validation of the screen data after undo or we just mark the operator as non-undoable?
Cant really see a good solution here - making it non-undoable wont help since some other operation can push the undo stack.
We could just work-around the problem with a fallback - if the index is out of range use world-space, but even in this case undo will switch back and forget the space that was set previously...
Another way could be to store 2 indices's.
Then if the index of the custom manipulator is out of range it can used the built-in value.
But this seems like a reasonable amount of effort just to workaround this bug.
@ideasman42, think it's better to just clamp transform index and don't worry about previously used space. Would at least prevent inconsistent state of .blend file even tho wouldn't be totally nice solution from user's perspective. Further improvements could b then moved to TODO.
The reason I dont much like to clamp on undo, - is (undo/redo) will then change your manipulator.
Added subscriber: @JulianEisel
Ehh, would say this is a todo?
Looked into possible fix, but not really happy with it because its searching the list on each access. P210
Setting as TODO.
Added subscribers: @mont29, @ZhangYu
I guess this one is now different: name seems to be kept, but the operation isn't undone (transform orientation remains after undo).