diff --git a/visu.py b/visu.py index d836ed7..cf0306f 100644 --- a/visu.py +++ b/visu.py @@ -4,7 +4,7 @@ def add_domain_bounds(plotter,bounds,color='black',line_width=2.): plotter.add_mesh(domain,color=color,style='wireframe',line_width=line_width,opacity=0.999,lighting=False) return -def enable_shadows_hacked(): +def enable_shadows_hacked(pl): # Reimplements pyvistas "enable_shadows()" method to also render translucent # objects (without shadows). Can be used to add objects which do not throw # shadows (but may look weird) by setting their opacity to a value close to 1,