Skip to content

Pie menu: show ortho_scale instead of focal length for Orthographic cameras #151

Description

@Weisl

Problem

The pie menu's Lens section always shows Focal Length and Field of View (angle), which are perspective-only properties. When the active camera is set to Orthographic, these controls are misleading — Blender uses ortho_scale for orthographic cameras, not a focal length.

Solution

Conditionally swap the Lens block based on cam.type:

  • Perspective / Panoramic → show lens (focal length) + focal length preset dropdown + angle (FOV) — no change
  • Orthographic → show ortho_scale instead

Files Changed

  • pie_menu.pydraw_camera_settings(): added cam.type == 'ORTHOGRAPHIC' branch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions