Page MenuHome

Adding shortcuts to "Show in viewport (screen icon)" causes error
Closed, DuplicatePublic

Description

System Information
Operating system:
macOS Mojave 10.14.6 (18G95)
MacBook Pro (Retina, 13-inch, Mid 2014)
Processor: 2.6 GHz Intel Core i5
Graphics: Intel Iris 1536 MB

Blender Version
Broken: Version 2.80 (2.80 2019-07-29)

Short description of error
If you add a shortcut to the "Show in viewport (screen icon)" for the modifiers, it only works for that instance & if you delete the modifier and use the shortcut it gives an error (see attached image)

Exact steps for others to reproduce the error
1/ Launch Blender, add "subdivision surface" to the default cube.
2/ Right click on "Show in viewport icon" and assign a shortcut eg command k
3/ add another "subdivision surface" modifier
4/ Use shortcut and only the first instance of the modifier toggles on and off. Shouldn't these be global shortcuts affecting each one? This also applies if you add it to the Quick favorites menu (only works for that instance of the modifier).
5/ Delete both modifiers
6/ use the shortcut again and you get the error

Hope that helps,
Have a good day

Details

Type
Bug

Event Timeline

IMO, It's bugs or not!
But want to puts some light on it (no worry about, torch will be mine!!!).

You can assign short-cuts to both sub-surface separately:
e.g. Add sub-serface and assign short-cut (j) & add second sub-surface and assign short-cut (k)

When the guy on which short-cut is applied, it's will give error! (it's simple)