From f50509d2d4ab2ebaec1c5dfb4a0efa383d0728cb Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 1 Dec 2023 12:42:09 +0100 Subject: [PATCH] occ_utils.py - #1037 --- src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py b/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py index 3f2446fddd..825157ab89 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py @@ -203,8 +203,8 @@ def display_shape(shape, clr=None, viewer_handle=None): return ais_handle -def set_shape_transparency(ais, t): - handle.Context.SetTransparency(ais, t) +def set_shape_transparency(ais, t, update_viewer=True): + handle.Context.SetTransparency(ais, t, update_viewer) def get_bounding_box_center(bbox):