Skip to content

Commit ebc8682

Browse files
committed
fix for scalar clipping component draw
1 parent 8794e16 commit ebc8682

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ngsolve_webgpu/clipping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ClippingCF(Renderer):
5050
subdivision = 0
5151

5252
def __init__(
53-
self, data: FunctionData, clipping: Clipping = None, colormap: Colormap = None, component=-1, symmetry=None
53+
self, data: FunctionData, clipping: Clipping = None, colormap: Colormap = None, component=None, symmetry=None
5454
):
5555
super().__init__()
5656
from .pick import HighlightUniforms

0 commit comments

Comments
 (0)