"select/deselect all"-menu for lattice doesn't default to TOGGLE
Closed, ResolvedPublic

Description

when using the "selection invert" for a lattice (added in 44930) and then using the menu for "select/deselect all", you get an invert again.
the menu needs to default to the toggle action:

it should be like this in "trunk/blender/release/scripts/startup/bl_ui/space_view3d.py":

class VIEW3D_MT_select_edit_lattice(Menu):
bl_label = "Select"

def draw(self, context):
layout = self.layout

layout.operator("view3d.select_border")

layout.separator()

layout.operator("lattice.select_all", text="Select/Deselect All").action = 'TOGGLE'
layout.operator("lattice.select_all", text="Inverse").action = 'INVERT'



(currently the ".action = 'TOGGLE'"-part is missing)

Details

Type
Bug

Fixed in r44974.

Thanks for reporting! :)

Bastien Montagne (mont29) closed this task as "Resolved".Mar 18 2012, 8:56 PM