Camera left with zoom value 'nan' cannot have zoom state reverted #120041
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#120041
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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-10-10.0.26085-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.86
Blender Version
Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash:
40a5e739e270
Worked: (newest version of Blender that worked as expected)
Short description of error
When working on an addon which saves camera data, location and rotation on a single camera so user can make different shots. I ran into this problem when testing to store data from projection. I noticed when going into camera view, everything was dark grey. Normally this mean its either zoomed in or zoomed out a lot. Using home to center, doesnt work. Checking the console showed me this error. It keeps on going as i move the cursor
Exact steps for others to reproduce the error
01 open attached blend file
02 Go into camera mode
03 Open the console and see error message
There is workflow to get about the same issue, but not error.
Start a blank new scene add a camera
Set it to ORTO
Set distance to 0.0
Center view using Home
Now when scrolling not shows. When you set it back to 6.0 still nothing shows. Eventually i got this Gizmo error showing above. I cant seem to reproduce the same report on a new file. But resetting the settings back doesnt return a normal camera view
The issue seems to happen when your in ORTHO view and zoom in a lot. Like so far you see the dark gray when using its. Seems like 3dview is than lost its position. Only way i could back to normal, was by adding a cube and then center view. Adding a cemera and then center view did not help
It seems that the issue you are experiencing is not related directly to the gizmo, but rather the camera being left in a zoomed state that cannot be reversed.
If we check the value of
rv3d.view_camera_zoom
, we will see that it isnan
, which stands for "Not a Number".This appears to be a case of a corrupted .blend file. In order to further investigate and address this issue, it would be helpful if you could provide the steps to replicate the issue from scratch. (As seem in Bug Reporting - Complete Report (Corrupted Mesh))
But I'm confirming the report as this appears to be a case that can be avoided in code.
Gizmo cage error going into camera view [v4.1]to Camera left with zoom value 'nan' cannot have zoom state revertedCan is ask where rv3d is, is that in scene or other space. Im i think perhaps due to the code it got some how mangled because the code works now but the same scene still shows nothing from camera view in 3dview. But when i render, it renders fine
EDIT
okay found it. Used a simple operator to reset it to 1 with simply script. I could not find anything to reset the zoom factor.
Though i wonder, i did not manually change the zoom. Must be because i had issues when i used to set the Onto cam and some setting went berserk. It show Inf m for scale factor