UI: Expose view rotation lock in the 3D Viewport

Expose view rotation lock in the View panel.

This is handy to prevent accidentally changing
the rotation of the viewport.

Pull Request: https://projects.blender.org/blender/blender/pulls/122185
This commit is contained in:
Huw Pascoe
2024-10-08 18:16:36 +02:00
committed by Pablo Vazquez
parent 014db2e32e
commit 7d98a24e3e

View File

@@ -6202,6 +6202,7 @@ class VIEW3D_PT_view3d_lock(Panel):
if not lock_object:
col.prop(view, "lock_cursor", text="To 3D Cursor")
col.prop(view, "lock_camera", text="Camera to View")
col.prop(view.region_3d, "lock_rotation", text="Rotation")
class VIEW3D_PT_view3d_cursor(Panel):