added missing function argument
This commit is contained in:
parent
5e5a19dd06
commit
5466f67c1c
2
visu.py
2
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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue