forked from bartvdbraak/blender
Fix [#22165] "Camera:" field of the Properties>View panel (3D View) has no function & is confusing
Cleaned up UI, made it a bit clearer
This commit is contained in:
parent
061a306d66
commit
79bd15c32d
@ -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")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user