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:
authorNathan Letwory <nathan@letworyinteractive.com>2010-10-31 04:18:26 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-31 04:18:26 +0300
commit73f21f20b789ed1474274b0d27778eede4108569 (patch)
treeb2e309aa70a249bb536ace095d8fd7cd30431cb6 /release
parentbae43df4ec359fb08a9ae45feb44eb5d24a4e5f8 (diff)
Lock to Cursor
Patch by Dan Eicher. In 3dview properties you can enable this. Rotating view then uses cursor as pivot point. Note that with this option enabled just relocating the 3d cursor also changes the 3dview. Sebastian König: "Now the 3d cursor is actually useful" (sitting next to me while applying patch at bconf hostel)
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/space_view3d.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/ui/space_view3d.py b/release/scripts/ui/space_view3d.py
index f7238364142..2cc05cb5e2d 100644
--- a/release/scripts/ui/space_view3d.py
+++ b/release/scripts/ui/space_view3d.py
@@ -1951,6 +1951,8 @@ class VIEW3D_PT_view3d_properties(bpy.types.Panel):
col.prop(view, "lock_object", text="")
if view.lock_object and view.lock_object.type == 'ARMATURE':
col.prop_search(view, "lock_bone", view.lock_object.data, "bones", text="")
+ elif not view.lock_object:
+ col.prop(view, "lock_cursor", text="Lock to Cursor")
col = layout.column(align=True)
col.label(text="Clip:")