diff --git a/release-packaging/Classes/FluidPlotter.sc b/release-packaging/Classes/FluidPlotter.sc index b6f3e5c..d78a474 100644 --- a/release-packaging/Classes/FluidPlotter.sc +++ b/release-packaging/Classes/FluidPlotter.sc @@ -2,36 +2,28 @@ FluidPlotterPoint { var id, color, <>size = 1; *new { - arg id, x, y, color, size = 1; - ^super.new.init(id,x,y,color,size); - } - - init { - arg id_, x_, y_, color_, size_ = 1; - id = id_; - x = x_; - y = y_; - color = color_ ? Color.black; - size = size_; + arg id, x, y, color(Color.black), size = 1; + ^super.newCopyArgs(id,x,y,color,size); } } FluidPlotter : FluidViewer { - var