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:
authorLuca Bonavita <mindrones@gmail.com>2010-06-22 04:08:05 +0400
committerLuca Bonavita <mindrones@gmail.com>2010-06-22 04:08:05 +0400
commit6a1d8d8e04f315355d46d9abf41762945f9c47fd (patch)
tree7d25ea7022cb3fd8452b8aa1766b63cf40e8e859 /release
parent91deffc42966156356151dbd6a2731c79ce088bd (diff)
Origin button in the toolshelf
Minipatch to add the Origin button in the Toolshelf in the Transform section. I missed this because 1) it was called "center" in 2.4 and it's difficult to find just searching if you don't know it's "origin" 2) it was in the the object ยป transform menu, not very practical to use often Discussed with Gensher, Campbell and Matt before committing :)
Diffstat (limited to 'release')
-rw-r--r--release/scripts/ui/space_view3d_toolbar.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/ui/space_view3d_toolbar.py b/release/scripts/ui/space_view3d_toolbar.py
index 6984bbeea41..0ad26be27c4 100644
--- a/release/scripts/ui/space_view3d_toolbar.py
+++ b/release/scripts/ui/space_view3d_toolbar.py
@@ -42,6 +42,9 @@ class VIEW3D_PT_tools_objectmode(View3DPanel):
col.operator("transform.resize", text="Scale")
col = layout.column(align=True)
+ col.operator("object.origin_set", text="Origin")
+
+ col = layout.column(align=True)
col.label(text="Object:")
col.operator("object.duplicate_move")
col.operator("object.delete")