Stored Views: Viewport camera is merely reset instead of actually restoring the old view #99751

Open
opened 2022-07-16 00:19:03 +02:00 by Mason · 8 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA RTX A2000 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.92

Blender Version
Broken: version: 3.2.1, branch: master, commit date: 2022-07-05 15:44, hash: blender/blender@a2d59b2dac
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Stored Views (0, 3, 7)
Author: nfloyd, Francesco Siddi

Short description of error
Clicking on "Set" (cube icon) in the Stored Views tab does not update camera to selected view.

Exact steps for others to reproduce the error

  1. Click "Save Current" button in Stored Views tab
  2. Move camera in viewport to different angle
  3. Click "Save Current" button in Stored Views tab
  4. Click "Set" (cube icon) on the first view ("VIEW") in Stored Views tab
  5. Express disappointment

Notes:
• New Machine
• Latest version of Blender
• Portable version of Blender

Attached file:
Packlane Product Boxes Category Stored View Test.blend

**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA RTX A2000 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 512.92 **Blender Version** Broken: version: 3.2.1, branch: master, commit date: 2022-07-05 15:44, hash: `blender/blender@a2d59b2dac` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Stored Views (0, 3, 7) Author: nfloyd, Francesco Siddi **Short description of error** Clicking on "Set" (cube icon) in the *Stored Views* tab does not update camera to selected view. **Exact steps for others to reproduce the error** 1. Click "Save Current" button in *Stored Views* tab 1. Move camera in viewport to different angle 2. Click "Save Current" button in *Stored Views* tab 3. Click "Set" (cube icon) on the first view ("VIEW") in *Stored Views* tab 4. Express disappointment Notes: • New Machine • Latest version of Blender • Portable version of Blender Attached file: [Packlane Product Boxes Category Stored View Test.blend](https://archive.blender.org/developer/F13295604/Packlane_Product_Boxes_Category_Stored_View_Test.blend)
Author

Added subscriber: @mrm-1

Added subscriber: @mrm-1
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I assume you are in Camera view while saving the views. As far as I can see in the code, the addon just stores and later restores the camera in this case, so it would be expected if both views were identical because they are sharing the same camera. Does that make sense?

I assume you are in Camera view while saving the views. As far as I can see in the code, the addon just stores and later restores the camera in this case, so it would be expected if both views were identical because they are sharing the same camera. Does that make sense?
Author

I'm assuming this question is for me, I am in camera view while saving different positions, correct. The camera should be moved to a different location and rotation, saved in the add-on, and then have a prior position/rotation restored in the current view for the current camera, or vice versa.

Currently Blender already has a means of switching between different cameras, so I would not expect the need to setup or duplicate cameras manually for each view, otherwise there really is no purpose to the add-on. The expected behavior here I believe should be to update the location and rotation for the selected camera based on the data that is being stored (one would assume for that camera) when clicking on "Save Current".

I'm assuming this question is for me, I am in camera view while saving different positions, correct. The camera should be moved to a different location and rotation, saved in the add-on, and then have a prior position/rotation restored in the current view for the current camera, or vice versa. Currently Blender already has a means of switching between different cameras, so I would not expect the need to setup or duplicate cameras manually for each view, otherwise there really is no purpose to the add-on. The expected behavior here I believe should be to update the location and rotation for the selected camera based on the data that is being stored (one would assume for that camera) when clicking on "Save Current".
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Omar Emara changed title from "Set Update the view 3D according to this view" does not work to Stored Views: Viewport camera is merely reset instead of actually restoring the old view 2022-08-03 13:02:53 +02:00
Member

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

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

Since the add-on explicitly implements that logic, it is probably not a bug. But I will tag the developers in case they consider it an unintentionally bad behavior as you say.

Since the add-on explicitly implements that logic, it is probably not a bug. But I will tag the developers in case they consider it an unintentionally bad behavior as you say.
Sign in to join this conversation.
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-addons#99751
No description provided.