mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 18:43:26 +00:00
Fix UI errors in Blender 4.2 (missing MOUSE_MMB_SCROLL icon)
Noticed #6515
This commit is contained in:
@@ -682,7 +682,10 @@ class PolylineOperator:
|
||||
for action, settings in instructions.items():
|
||||
if settings["icons"]:
|
||||
for key in settings["keys"]:
|
||||
self.layout.label(text="", icon=key)
|
||||
if bpy.app.version < (4, 3, 0) and key == "MOUSE_MMB_SCROLL":
|
||||
self.layout.label(text="MMB")
|
||||
else:
|
||||
self.layout.label(text="", icon=key)
|
||||
self.layout.label(text=action)
|
||||
else:
|
||||
key = settings["keys"][0]
|
||||
|
||||
Reference in New Issue
Block a user