Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
06d44308
Commit
06d44308
authored
14 years ago
by
Jonathan Smith
Browse files
Options
Downloads
Patches
Plain Diff
Spacebar Menu: Add Add Menu for when editing Curves and Surfaces
parent
b1244ec1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
space_view3d_spacebar_menu.py
+23
-2
23 additions, 2 deletions
space_view3d_spacebar_menu.py
with
23 additions
and
2 deletions
space_view3d_spacebar_menu.py
+
23
−
2
View file @
06d44308
...
...
@@ -24,8 +24,8 @@
bl_addon_info
=
{
"
name
"
:
"
Dynamic Spacebar Menu
"
,
"
author
"
:
"
JayDez, sim88, meta-androcto
"
,
"
sam
"
"
version
"
:
(
1
,
6
),
"
author
"
:
"
JayDez, sim88, meta-androcto, sam
"
"
version
"
:
(
1
,
6
,
1
),
"
blender
"
:
(
2
,
5
,
6
),
"
api
"
:
34036
,
"
location
"
:
"
View3D > Spacebar
"
,
...
...
@@ -49,6 +49,7 @@ Usage:
* Object sensitive based on object selected in edit mode.
Version history:
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.
v1.5 - (meta-androcto) - adding context sensitive menus.
...
...
@@ -199,6 +200,12 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
# Search Menu
layout
.
operator
(
"
wm.search_menu
"
,
text
=
"
Search
"
,
icon
=
'
VIEWZOOM
'
)
layout
.
separator
()
# Add block
layout
.
menu
(
"
INFO_MT_curve_add
"
,
text
=
"
Add Curve
"
,
icon
=
'
OUTLINER_OB_CURVE
'
)
layout
.
separator
()
# Transform block
layout
.
menu
(
"
VIEW3D_MT_TransformMenu
"
,
icon
=
'
MANIPUL
'
)
...
...
@@ -252,6 +259,12 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
# Search Menu
layout
.
operator
(
"
wm.search_menu
"
,
text
=
"
Search
"
,
icon
=
'
VIEWZOOM
'
)
layout
.
separator
()
# Add block
layout
.
menu
(
"
INFO_MT_surface_add
"
,
text
=
"
Add Surface
"
,
icon
=
'
OUTLINER_OB_SURFACE
'
)
layout
.
separator
()
# Transform block
layout
.
menu
(
"
VIEW3D_MT_TransformMenu
"
,
icon
=
'
MANIPUL
'
)
...
...
@@ -299,6 +312,14 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
#Search Menu
layout
.
operator
(
"
wm.search_menu
"
,
text
=
"
Search
"
,
icon
=
'
VIEWZOOM
'
)
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()
# Transform block
layout
.
menu
(
"
VIEW3D_MT_TransformMenu
"
,
icon
=
'
MANIPUL
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment