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
7c9f91a8
Commit
7c9f91a8
authored
14 years ago
by
Jonathan Smith
Browse files
Options
Downloads
Patches
Plain Diff
Wrong operator names for deleting objects in editmode
parent
b8b01d96
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
+6
-4
6 additions, 4 deletions
space_view3d_spacebar_menu.py
with
6 additions
and
4 deletions
space_view3d_spacebar_menu.py
+
6
−
4
View file @
7c9f91a8
...
...
@@ -49,6 +49,7 @@ Usage:
* Object sensitive based on object selected in edit mode.
Version history:
v1.7.3 - (JayDez) - Wrong operator names for deleting in editmode
v1.7.2 - (JayDez) - Adding proportional editing menu to where it was missing
v1.7.1 - (JayDez) - Fixing up lattice menu and a wrong operator in curve menu
v1.7 - (JayDez) - Fixing up animation menu and Metaball Add Menu
...
...
@@ -192,6 +193,7 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
# Select block
layout
.
menu
(
"
VIEW3D_MT_SelectEditMenu
"
,
icon
=
'
RESTRICT_SELECT_OFF
'
)
layout
.
separator
()
# Toolshelf block
layout
.
operator
(
"
view3d.toolshelf
"
,
icon
=
'
MENU_PANEL
'
)
...
...
@@ -267,7 +269,7 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
icon
=
'
OBJECT_DATA
'
)
# Delete block
layout
.
operator
(
"
object
.delete
"
,
text
=
"
Delete Object
"
,
layout
.
operator
(
"
curve
.delete
"
,
text
=
"
Delete Object
"
,
icon
=
'
CANCEL
'
)
if
ob
.
mode
==
'
EDIT_SURFACE
'
:
...
...
@@ -320,7 +322,7 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
icon
=
'
OBJECT_DATA
'
)
# Delete block
layout
.
operator
(
"
object
.delete
"
,
text
=
"
Delete Object
"
,
layout
.
operator
(
"
curve
.delete
"
,
text
=
"
Delete Object
"
,
icon
=
'
CANCEL
'
)
if
ob
.
mode
==
'
EDIT_METABALL
'
:
...
...
@@ -370,7 +372,7 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
icon
=
'
OBJECT_DATA
'
)
# Delete block
layout
.
operator
(
"
object
.delete
"
,
text
=
"
Delete Object
"
,
layout
.
operator
(
"
mball
.delete
_metaelems
"
,
text
=
"
Delete Object
"
,
icon
=
'
CANCEL
'
)
elif
ob
.
mode
==
'
EDIT_LATTICE
'
:
...
...
@@ -674,7 +676,7 @@ class VIEW3D_MT_Space_Dynamic_Menu(bpy.types.Menu):
icon
=
'
OBJECT_DATA
'
)
# Delete block
layout
.
operator
(
"
object
.delete
"
,
text
=
"
Delete Object
"
,
layout
.
operator
(
"
armature
.delete
"
,
text
=
"
Delete Object
"
,
icon
=
'
CANCEL
'
)
...
...
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