diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index eb8d6a63436..55cb110177f 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -5476,12 +5476,12 @@ class VIEW3D_PT_view3d_lock(Panel): view, "lock_bone", lock_object.data, "edit_bones" if lock_object.mode == 'EDIT' else "bones", - text="", + text="Bone", ) - else: - subcol = sub.column(heading="Lock") - subcol.prop(view, "lock_cursor", text="To 3D Cursor") + col = layout.column(heading="Lock", align=True) + if not lock_object: + col.prop(view, "lock_cursor", text="To 3D Cursor") col.prop(view, "lock_camera", text="Camera to View") |