From 79bd15c32de2f4840450c78911ee35a56aaf15a7 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Tue, 27 Apr 2010 06:47:12 +0000 Subject: [PATCH] Fix [#22165] "Camera:" field of the Properties>View panel (3D View) has no function & is confusing Cleaned up UI, made it a bit clearer --- release/scripts/ui/space_view3d.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py index f775340c124..36ccd47332e 100644 --- a/release/scripts/ui/space_view3d.py +++ b/release/scripts/ui/space_view3d.py @@ -1848,8 +1848,6 @@ class VIEW3D_PT_3dview_properties(bpy.types.Panel): scene = context.scene col = layout.column() - col.label(text="Camera:") - col.prop(view, "camera", text="") col.prop(view, "lens") col.label(text="Lock to Object:") col.prop(view, "lock_object", text="") @@ -1861,6 +1859,11 @@ class VIEW3D_PT_3dview_properties(bpy.types.Panel): col.prop(view, "clip_start", text="Start") col.prop(view, "clip_end", text="End") + subcol = col.column() + subcol.enabled = not view.lock_camera_and_layers + subcol.label(text="Local Camera:") + subcol.prop(view, "camera", text="") + layout.column().prop(view, "cursor_location")