diff options
author | Luca Bonavita <mindrones@gmail.com> | 2010-06-22 04:08:05 +0400 |
---|---|---|
committer | Luca Bonavita <mindrones@gmail.com> | 2010-06-22 04:08:05 +0400 |
commit | 6a1d8d8e04f315355d46d9abf41762945f9c47fd (patch) | |
tree | 7d25ea7022cb3fd8452b8aa1766b63cf40e8e859 /release | |
parent | 91deffc42966156356151dbd6a2731c79ce088bd (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.py | 3 |
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") |