From 6a1d8d8e04f315355d46d9abf41762945f9c47fd Mon Sep 17 00:00:00 2001 From: Luca Bonavita Date: Tue, 22 Jun 2010 00:08:05 +0000 Subject: [PATCH] Origin button in the toolshelf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 :) --- release/scripts/ui/space_view3d_toolbar.py | 3 +++ 1 file changed, 3 insertions(+) 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 @@ -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")