Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Smith <j.jaydez@gmail.com>2011-02-13 07:58:07 +0300
committerJonathan Smith <j.jaydez@gmail.com>2011-02-13 07:58:07 +0300
commit8dfe66aeee64eb11ebc05b260b3f3986a4abaeee (patch)
tree6139ab536e71fe6f23479790fca714f004dc566a /space_view3d_spacebar_menu.py
parent94221913867d902c933e3b19690dcbca0f0ff15c (diff)
Added Add Menu for metaballs after fix in blender trunk
Diffstat (limited to 'space_view3d_spacebar_menu.py')
-rw-r--r--space_view3d_spacebar_menu.py19
1 files changed, 10 insertions, 9 deletions
diff --git a/space_view3d_spacebar_menu.py b/space_view3d_spacebar_menu.py
index ff013e39..5412d7b4 100644
--- a/space_view3d_spacebar_menu.py
+++ b/space_view3d_spacebar_menu.py
@@ -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 @@ This adds a the Dynamic Spacebar Menu in the View3D.
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 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
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')