View movement (when view is locked to camera) misses an undo push #71435

Closed
opened 2019-11-09 02:01:47 +01:00 by takaaki takeda · 15 comments

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

Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-06 20:48, hash: 85637311c2
Worked: (optional)

Short description of error
When undoing any operator after changing the view (if the view is locked to a camera)
the movement of camera is also undone with that operator

Exact steps for others to reproduce the error
View movement (when view is locked to camera) misses an undo push.

Can also be reproduced from the default scene:

  • {key Numpad 0} to go to camera view
  • enable View Lock > Camera to View
  • move the view
  • move the default cube
  • undo
  • movement of the camera is also undone

Original report

Toggle to camera view and lock the camera to the view.
Add Grease pencil object and draw strokes.
Move the view.
Stroke a line.
Undo the stroke. The movement of camera is also undone.

I attached a gif animation.
GPUndo02.gif
This can be a problem when I am thinking about layout and drawing simultaneously.

**System Information** Operating system: Windows-10-10.0.18362 64 Bits Graphics card: GeForce GTX 970/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86 **Blender Version** Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-11-06 20:48, hash: `85637311c2` Worked: (optional) **Short description of error** When undoing any operator after changing the view (if the view is locked to a camera) the movement of camera is also undone with that operator **Exact steps for others to reproduce the error** View movement (when view is locked to camera) misses an undo push. Can also be reproduced from the default scene: - {key Numpad 0} to go to camera view - enable `View Lock` > `Camera to View` - move the view - move the default cube - undo - movement of the camera is also undone **Original report** Toggle to camera view and lock the camera to the view. Add Grease pencil object and draw strokes. Move the view. Stroke a line. Undo the stroke. The movement of camera is also undone. I attached a gif animation. ![GPUndo02.gif](https://archive.blender.org/developer/F7994561/GPUndo02.gif) This can be a problem when I am thinking about layout and drawing simultaneously.
Author

Added subscriber: @popqjp

Added subscriber: @popqjp

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I can confirm.
This is seen with Grease Pencil or Annotation.
The same behavior is seen in blender 2.79

I can confirm. This is seen with Grease Pencil or Annotation. The same behavior is seen in blender 2.79

Added subscriber: @momoSnack

Added subscriber: @momoSnack
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Not only a problem with grease pencil.
View movement (when view is locked to camera) misses an undo push.

Can also be reproduced from the default scene:

  • {key Numpad 0} to go to camera view
  • enable View Lock > Camera to View
  • move the view
  • move the default cube
  • undo
  • movement of the camera is also undone
Not only a problem with grease pencil. View movement (when view is locked to camera) misses an undo push. Can also be reproduced from the default scene: - {key Numpad 0} to go to camera view - enable `View Lock` > `Camera to View` - move the view - move the default cube - undo - movement of the camera is also undone
Philipp Oeser changed title from problem in undo for grease pencil draw when view is locked to camera. to View movement (when view is locked to camera) misses an undo push 2022-01-07 15:21:35 +01:00
Philipp Oeser self-assigned this 2022-01-07 15:21:35 +01:00
Member

Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'

Changed status from 'Confirmed' to: 'Needs Developer To Reproduce'
Member

Added subscriber: @BassamKurdali

Added subscriber: @BassamKurdali
Member

Lets put it that way: Should there be an undo push? Yes or No?
I can see both behaviors be somewhat problematic.
If we add an undo push here, we'll get many undo steps by view rotation (possibly also leading to unwanted behavior when working with operators).
Or is the user expected to not use Camera to View in that case?

Might be related to @BassamKurdali mentioning that autokey is not working in that scenario in https://devtalk.blender.org/t/2021-12-23-animation-rigging-module-meeting/22042

Lets put it that way: *Should there be an undo push? Yes or No?* I can see both behaviors be somewhat problematic. If we add an undo push here, we'll get many undo steps by view rotation (possibly also leading to unwanted behavior when working with operators). Or is the user expected to not use `Camera to View` in that case? Might be related to @BassamKurdali mentioning that autokey is not working in that scenario in https://devtalk.blender.org/t/2021-12-23-animation-rigging-module-meeting/22042
Member

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren
Member

@dr.sybren: opinions?

@dr.sybren: opinions?
Philipp Oeser removed their assignment 2022-01-18 20:35:48 +01:00
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

@lichtwerk , I think this report we can merge into #92099 (No undo when moving viewport with camera locked to view)

@lichtwerk , I think this report we can merge into #92099 (No undo when moving viewport with camera locked to view)
Member

OK, yes, the same problem,we can merge the other way around

OK, yes, the same problem,we can merge the other way around
Member

Closed as duplicate of #92099

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