Quadview views inaccessible with python except bottom right view #39028
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#39028
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?
Area.spaces- [x].region_quadview
of a View3D has no members for every of the four views, but refers directly to the right bottom view. All other 3 seem inaccessible. Or am I overlooking something?There are several WINDOW regions in quadview mode, but there's no way to get the region (space?) data from it in python.
It's pretty arbitrary to have the bottom right one adjustable, 'cause the TOP right one is the one you would normally navigate.
Changed status to: 'Open'
Added subscriber: @CodeManX
Added subscriber: @mont29
Added subscribers: @ideasman42, @brecht
Yep, RNA code is a bit odd, rna_SpaceView3D_region_quadview_get() returns the region just before the last one (last one being the "hidden" region that gathers the four quaded views, I guess)…
Should not be hard to make it an 4-elements array, returning regions -5 to -2, Campbell, Brecht, do you know good reason to current behavior?
Mmmh… We can’t have arrays of pointers in RNA… but we could have region_quadview1, region_quadview2, etc?
Simple patch giving access to all view of quad (right/top/front): P21…
Note that the conventions for top/front etc are just conventions, you can for example set quadview, unlock and set all different axis views, then lock again.
New patch: P23 (made it into a 4 items collection).
@mont29 last patch LGTM - minor suggestion noted in at patch page.
This issue was referenced by blender/blender-addons-contrib@a2ffd8e423
This issue was referenced by blender/blender@a2ffd8e423
Changed status from 'Open' to: 'Resolved'
Closed by commit blender/blender@a2ffd8e423.