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 :)
This commit is contained in:
Luca Bonavita 2010-06-22 00:08:05 +00:00
parent 91deffc429
commit 6a1d8d8e04

@ -41,6 +41,9 @@ class VIEW3D_PT_tools_objectmode(View3DPanel):
col.operator("transform.rotate")
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")