From 83aef5e4d590ebad7c15eb8f5b7754b58509ef98 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 24 Jul 2026 15:43:55 +0500 Subject: [PATCH] black . (cherry picked from commit a586c7f695f3d261096876d25b22412ddd1b3360) --- src/bonsai/bonsai/tool/style.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bonsai/bonsai/tool/style.py b/src/bonsai/bonsai/tool/style.py index 6e6138d26e..48fa7e24b4 100644 --- a/src/bonsai/bonsai/tool/style.py +++ b/src/bonsai/bonsai/tool/style.py @@ -639,9 +639,9 @@ class Style(bonsai.core.tool.Style): ) -> tuple[tuple[float, float, float], float]: if material.node_tree: nodes = material.node_tree.nodes - output_node = next( - (n for n in nodes if n.type == "OUTPUT_MATERIAL" and n.is_active_output), None - ) or next((n for n in nodes if n.type == "OUTPUT_MATERIAL"), None) + output_node = next((n for n in nodes if n.type == "OUTPUT_MATERIAL" and n.is_active_output), None) or next( + (n for n in nodes if n.type == "OUTPUT_MATERIAL"), None + ) if output_node: result = cls._color_from_shader_socket(output_node.inputs["Surface"]) if result: