Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-04-13 19:21:26 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-04-13 19:21:26 +0400
commit20110e703ee6ed486d37f7383944ff2f7c1661e5 (patch)
treeb4263960e38ff40dd6df5f84a6ddcb94b34ede53
parent87364befd985aaa4ef72bb4f21399c5e777968ba (diff)
Do not hide (gray out) lens/lock to object/lock to cursor options in Quad views (View panel)...
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index c110d344dd0..20f5b471784 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2176,14 +2176,18 @@ class VIEW3D_PT_view3d_properties(Panel):
view = context.space_data
col = layout.column()
- col.active = view.region_3d.view_perspective != 'CAMERA'
+ col.active = bool(view.region_3d.view_perspective != 'CAMERA' or
+ view.region_quadview)
col.prop(view, "lens")
col.label(text="Lock to Object:")
col.prop(view, "lock_object", text="")
lock_object = view.lock_object
if lock_object:
if lock_object.type == 'ARMATURE':
- col.prop_search(view, "lock_bone", lock_object.data, "edit_bones" if lock_object.mode == 'EDIT' else "bones", text="")
+ col.prop_search(view, "lock_bone", lock_object.data,
+ "edit_bones" if lock_object.mode == 'EDIT'
+ else "bones",
+ text="")
else:
col.prop(view, "lock_cursor", text="Lock to Cursor")