Fix #137647: Remove warning about macOS not supporting custom wire widths
In a previous commmit (1), custom wire width for armatures was disabled
on macOS and a corrisponding warning was added to the UI due to a
limitation at the time leading to rendering artifacts #124691.
These limiations appear to have been sorted in Blender 4.4 and so
custom wire widths now work on macOS. So this commit removes the
warning message form the UI.
(1) a451971026
Pull Request: https://projects.blender.org/blender/blender/pulls/137651
This commit is contained in:
@@ -420,16 +420,7 @@ class BONE_PT_display_custom_shape(BoneButtonsPanel, Panel):
|
||||
|
||||
sub.separator()
|
||||
sub.prop(bone, "show_wire", text="Wireframe")
|
||||
|
||||
# Disabled on Mac due to drawing issues with lacking geometry shader support. See #124691.
|
||||
is_darwin = platform.system() == "Darwin"
|
||||
|
||||
width_sub = sub.column()
|
||||
width_sub.active = not is_darwin
|
||||
width_sub.prop(pchan, "custom_shape_wire_width")
|
||||
|
||||
if is_darwin:
|
||||
sub.label(text="Custom wire width not available on MacOS", icon='INFO')
|
||||
sub.prop(pchan, "custom_shape_wire_width")
|
||||
|
||||
|
||||
class BONE_PT_inverse_kinematics(BoneButtonsPanel, Panel):
|
||||
|
||||
Reference in New Issue
Block a user