From d50e8060ac70284822fed4229d14a42c78ea99d8 Mon Sep 17 00:00:00 2001 From: Sayanjyoti Das Date: Fri, 14 Mar 2025 18:37:12 +0530 Subject: [PATCH] better comments --- src/bonsai/bonsai/bim/operator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bonsai/bonsai/bim/operator.py b/src/bonsai/bonsai/bim/operator.py index 77b92f2ce6..bcb31264c5 100644 --- a/src/bonsai/bonsai/bim/operator.py +++ b/src/bonsai/bonsai/bim/operator.py @@ -677,13 +677,13 @@ class BIM_OT_add_section_plane(bpy.types.Operator): if material.node_tree.nodes.get("Section Override"): continue # In EEVEE rendering engine, `blend_mode` is deprecated and replaced by `surface_render_method` + # https://developer.blender.org/docs/release_notes/4.2/eevee_migration/#materials if (hasattr(material, "surface_render_method")): material.surface_render_method = "DITHERED" else: material.blend_method = "HASHED" - # https://developer.blender.org/docs/release_notes/4.2/eevee_migration/#materials - # TODO: Find an alternative for EEVEE engine + # TODO: Find an alternative to `shadow_method` for EEVEE engine if (hasattr(material, "shadow_method")): material.shadow_method = "HASHED"