[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [29603] trunk/blender/release/scripts/ui/ space_view3d_toolbar.py: Origin button in the toolshelf
Luca Bonavita
mindrones at gmail.com
Tue Jun 22 02:08:05 CEST 2010
Revision: 29603
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=29603
Author: mindrones
Date: 2010-06-22 02:08:05 +0200 (Tue, 22 Jun 2010)
Log Message:
-----------
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 ?\194?\187 transform menu, not very practical to use often
Discussed with Gensher, Campbell and Matt before committing :)
Modified Paths:
--------------
trunk/blender/release/scripts/ui/space_view3d_toolbar.py
Modified: trunk/blender/release/scripts/ui/space_view3d_toolbar.py
===================================================================
--- trunk/blender/release/scripts/ui/space_view3d_toolbar.py 2010-06-21 23:20:44 UTC (rev 29602)
+++ trunk/blender/release/scripts/ui/space_view3d_toolbar.py 2010-06-22 00:08:05 UTC (rev 29603)
@@ -42,6 +42,9 @@
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")
More information about the Bf-blender-cvs
mailing list