mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +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():
|
for action, settings in instructions.items():
|
||||||
if settings["icons"]:
|
if settings["icons"]:
|
||||||
for key in settings["keys"]:
|
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)
|
self.layout.label(text=action)
|
||||||
else:
|
else:
|
||||||
key = settings["keys"][0]
|
key = settings["keys"][0]
|
||||||
|
|||||||
Reference in New Issue
Block a user