mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
#843 SetTransparency requires theToUpdateViewer
This commit is contained in:
@@ -183,8 +183,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):
|
||||
|
||||
Reference in New Issue
Block a user