[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [1591] trunk/py/scripts/addons/ space_view3d_spacebar_menu.py: Added Add Menu for metaballs after fix in blender trunk
Jonathan Smith
j.jaydez at gmail.com
Sun Feb 13 05:58:08 CET 2011
Revision: 1591
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=1591
Author: jaydez
Date: 2011-02-13 04:58:07 +0000 (Sun, 13 Feb 2011)
Log Message:
-----------
Added Add Menu for metaballs after fix in blender trunk
Modified Paths:
--------------
trunk/py/scripts/addons/space_view3d_spacebar_menu.py
Modified: trunk/py/scripts/addons/space_view3d_spacebar_menu.py
===================================================================
--- trunk/py/scripts/addons/space_view3d_spacebar_menu.py 2011-02-13 04:45:34 UTC (rev 1590)
+++ trunk/py/scripts/addons/space_view3d_spacebar_menu.py 2011-02-13 04:58:07 UTC (rev 1591)
@@ -25,11 +25,11 @@
bl_info = {
"name": "Dynamic Spacebar Menu",
"author": "JayDez, sim88, meta-androcto, sam",
- "version": (1, 6, 1),
+ "version": (1, 7),
"blender": (2, 5, 6),
- "api": 34036,
+ "api": 34810,
"location": "View3D > Spacebar Key",
- "description": "Context sensitive spacebar menu",
+ "description": "Context Sensitive Spacebar Menu",
"warning": "",
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\
"Scripts/3D_interaction/Dynamic_Spacebar_Menu",
@@ -43,12 +43,13 @@
Usage:
* This script gives a basic menu with common simple tools for easy access.
-* Very similar to the Spacebar menu in 2.49
-* Context sensitive for Object. Edit, Sculpt, Pose, Weight/Texture/Vertex
- Paint.
+* Very similar to the Spacebar menu in 2.49
+* Context sensitive for Object, Edit, Sculpt, Pose, Weight/Texture/Vertex
+ Paint modes.
* Object sensitive based on object selected in edit mode.
Version history:
+v1.7 - (JayDez) - Fixing up animation menu and Metaball Add Menu
v1.6.1 - (JayDez) - Added Add Menu to Curve and Surface (respectively)
v1.6 - (JayDez) - Fixed a couple wrong names. (Thanks Bao2 and Dennis)
v1.5.1 - (JayDez) - Changing formatting to be more uniform.
@@ -315,11 +316,11 @@
layout.separator()
# Add block
- #No INFO_MT_metaball_add find out why.. and how to use,
- #for some reason also there is no add menu when editing mballs...
#layout.menu("INFO_MT_metaball_add", text="Add Metaball",
# icon='OUTLINER_OB_META')
- #layout.separator()
+ layout.operator_menu_enum("object.metaball_add", "type",
+ text="Add Metaball", icon='OUTLINER_OB_META')
+ layout.separator()
# Transform block
layout.menu("VIEW3D_MT_TransformMenu", icon='MANIPUL')
More information about the Bf-extensions-cvs
mailing list