Hi. We are creating a small addon that creates Blender function shortcut buttons in the menu panel.
The button script that worked in 2.7 was used so far, but in 2.8 there are some things that the script fails.
The following is an example.
This worked very well as a one-touch button in 2.7!
How can We make this possible with 2.8?
box = layout.box() row = box.row(align = True) row.scale_x = 1.5 row.operator("object.vertex_group_lock", text="", icon="CAMERA_DATA").action='UNLOCK'