Quadview views inaccessible with python except bottom right view #39028

Closed
opened 2014-03-07 21:55:23 +01:00 by CodeManX · 14 comments
Member

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.

`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.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @CodeManX

Added subscriber: @CodeManX

Added subscriber: @mont29

Added subscriber: @mont29

Added subscribers: @ideasman42, @brecht

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?

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?

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

Simple patch giving access to all view of quad (right/top/front): [P21](https://archive.blender.org/developer/P21.txt)…

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.

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.
Bastien Montagne self-assigned this 2014-03-11 09:27:24 +01:00

New patch: P23 (made it into a 4 items collection).

New patch: [P23](https://archive.blender.org/developer/P23.txt) (made it into a 4 items collection).

@mont29 last patch LGTM - minor suggestion noted in at patch page.

@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-addons-contrib@a2ffd8e4234e7113466b236fa6cb4ab20c9f048e

This issue was referenced by blender/blender@a2ffd8e423

This issue was referenced by blender/blender@a2ffd8e4234e7113466b236fa6cb4ab20c9f048e

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit blender/blender@a2ffd8e423.

Closed by commit blender/blender@a2ffd8e423.
Sign in to join this conversation.
No Milestone
No project
No Assignees
4 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#39028
No description provided.