diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index 61fbabc5c4e..2208f7f33e7 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -2390,25 +2390,6 @@ class VIEW3D_MT_object_clear(Menu): layout.operator("object.origin_clear", text="Origin") -class VIEW3D_MT_motion_path(Menu): - bl_label = "Motion Paths" - - def draw(self, _context): - layout = self.layout - ob = _context.object - if ob.mode == 'OBJECT': - layout.operator("object.paths_calculate") - layout.operator("object.paths_update") - layout.operator("object.paths_update_visible") - layout.operator("object.paths_clear", text="Clear all").only_selected = False - layout.operator("object.paths_clear", text="Clear selected").only_selected = True - elif ob.mode == 'POSE': - layout.operator("pose.paths_calculate") - layout.operator("pose.paths_update") - layout.operator("pose.paths_clear", text="Clear all").only_selected = False - layout.operator("pose.paths_clear", text="Clear selected").only_selected = True - - class VIEW3D_MT_object_context_menu(Menu): bl_label = "Object Context Menu" @@ -2610,7 +2591,6 @@ class VIEW3D_MT_object_context_menu(Menu): layout.menu("VIEW3D_MT_mirror") layout.menu("VIEW3D_MT_snap") layout.menu("VIEW3D_MT_object_parent") - layout.menu("VIEW3D_MT_motion_path") layout.operator_context = 'INVOKE_REGION_WIN' if view and view.local_view: @@ -3658,10 +3638,10 @@ class VIEW3D_MT_pose_context_menu(Menu): layout.separator() - layout.operator("pose.paths_calculate") - layout.operator("pose.paths_update") - layout.operator("pose.paths_clear", text="Clear all").only_selected = False - layout.operator("pose.paths_clear", text="Clear selected").only_selected = True + layout.operator("pose.paths_calculate", text="Calculate Motion Paths") + layout.operator("pose.paths_clear", text="Clear Motion Paths") + layout.operator("pose.paths_update", text="Update Armature Motion Paths") + layout.operator("object.paths_update_visible", text="Update All Motion Paths") layout.separator() @@ -7657,7 +7637,6 @@ classes = ( VIEW3D_MT_object_quick_effects, VIEW3D_MT_object_showhide, VIEW3D_MT_object_cleanup, - VIEW3D_MT_motion_path, VIEW3D_MT_make_single_user, VIEW3D_MT_make_links, VIEW3D_MT_brush_paint_modes, |