mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 07:52:37 +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
|
@classmethod
|
||||||
def play_sound(cls) -> None:
|
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
|
cls.play_chaching_sound() # lol
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
Reference in New Issue
Block a user