Campbell Barton
3ecc03c3d6
Fix T93779: Python is unable to set axis aligned views
...
It wasn't possible to temporarily orbit the view, then set back to an
axis-aligned view.
Details:
- It was possible to change RegionView3D.view_rotation while the view
kept the axis alignment value (Top, Left, Front .. etc) which
displayed in the viewport overlay.
Now changing the view rotation directly or via "view_matrix" resets
the axis-alignment - clearing when the view is no longer axis-aligned
or assigning the newly aligned axis.
- RegionView3D.is_orthographic_side_view added in [0] could be assigned
but wasn't useful as it treated an enum as a boolean only setting the
RegionView3D.view to RV3D_VIEW_USER or RV3D_VIEW_FRONT.
Now enabling this aligns the viewport rotation to it's closest
axis-aligned orientation setting RegionView3D.view & view_axis_roll
accordingly. Note that the "orthographic" term is misleading as the
property only relates to axis-alignment, not to the
perspective/orthographic setting. We could consider deprecating the
current naming.
[0]: 63bae864f4
2022-05-19 14:31:22 +10:00
..
2022-03-24 18:24:06 -04:00
2022-03-14 17:08:46 +01:00
2022-04-01 12:35:25 +02:00
2022-02-11 09:14:36 +11:00
2022-05-16 10:58:51 +02:00
2022-02-11 09:14:36 +11:00
2022-04-18 20:11:45 -04:00
2022-02-11 09:14:36 +11:00
2022-04-01 12:35:25 +02:00
2022-04-26 12:33:35 +02:00
2022-02-11 09:14:36 +11:00
2022-04-20 17:03:05 +02:00
2022-02-11 09:14:36 +11:00
2022-04-28 13:08:52 -05:00
2022-02-11 09:14:36 +11:00
2022-04-26 13:10:45 +02:00
2022-04-19 17:07:53 +02:00
2022-02-11 09:14:36 +11:00
2022-04-11 23:49:37 +02:00
2022-03-11 18:27:58 +01:00
2022-04-01 12:35:25 +02:00
2022-03-23 15:21:58 +01:00
2022-03-10 11:34:51 +01:00
2022-02-18 11:31:13 +01:00
2022-03-22 09:54:13 -05:00
2022-03-11 15:21:30 +11:00
2022-02-11 09:14:36 +11:00
2022-02-25 13:22:42 +01:00
2022-03-09 10:13:43 +11:00
2022-02-11 09:14:36 +11:00
2022-03-09 10:13:43 +11:00
2022-02-11 09:14:36 +11:00
2022-03-03 14:52:45 +01:00
2022-04-19 17:07:53 +02:00
2022-04-26 13:46:02 +10:00
2022-03-29 11:28:38 +02:00
2022-05-09 12:44:21 +02:00
2022-05-06 11:11:33 +02:00
2022-05-06 11:11:33 +02:00
2022-04-11 12:03:09 +10:00
2022-04-30 16:23:43 +09:00
2022-03-10 16:27:18 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-03-31 11:57:45 +02:00
2022-02-11 09:14:36 +11:00
2022-02-18 09:50:29 -06:00
2022-02-11 09:14:36 +11:00
2022-04-08 16:42:50 +02:00
2022-04-19 17:08:02 -05:00
2022-02-11 09:14:36 +11:00
2022-04-28 13:08:52 -05:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-21 00:04:58 -07:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-05-01 09:27:22 +01:00
2022-04-01 13:45:02 -05:00
2022-04-04 12:35:33 +10:00
2022-04-13 13:47:04 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-20 09:10:10 -05:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-20 17:03:05 +02:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-20 11:05:54 +02:00
2022-04-05 11:42:55 -07:00
2022-04-24 13:41:03 +10:00
2022-02-11 09:14:36 +11:00
2022-04-21 14:51:37 +02:00
2022-02-11 09:14:36 +11:00
2022-04-28 14:40:31 +02:00
2022-03-24 03:25:10 +01:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-30 16:23:43 +09:00
2022-05-19 14:31:22 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-07 15:45:20 +10:00
2022-03-24 16:54:01 +11:00
2022-02-11 09:14:36 +11:00
2022-04-13 13:47:04 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-08 01:08:03 +02:00
2022-03-09 10:13:43 +11:00
2022-05-18 12:17:42 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-19 17:07:53 +02:00
2022-04-04 14:32:42 +10:00
2022-02-11 09:14:36 +11:00
2022-02-11 09:14:36 +11:00
2022-04-04 13:34:42 +10:00
2022-02-11 09:14:36 +11:00
2022-04-08 16:42:50 +02:00
2022-04-02 06:14:27 +02:00
2022-05-03 09:32:27 +10:00