mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
bonsai chaching - save ears for those running the tests
This commit is contained in:
@@ -144,7 +144,8 @@ class Cost(bonsai.core.tool.Cost):
|
||||
|
||||
@classmethod
|
||||
def play_sound(cls) -> None:
|
||||
if tool.Blender.get_addon_preferences().should_play_chaching_sound:
|
||||
# Save ears for those running the tests in background mode.
|
||||
if tool.Blender.get_addon_preferences().should_play_chaching_sound and not bpy.app.background:
|
||||
cls.play_chaching_sound() # lol
|
||||
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user