processing4 icon indicating copy to clipboard operation
processing4 copied to clipboard

"Duplicate method settings()" when using smooth() in setup()

Open Gargaj opened this issue 1 year ago • 7 comments

Most appropriate sub-area of Processing 4?

Core/Environment/Rendering

Processing version

4.3.1

Operating system

Windows 11

Steps to reproduce this

Creating the following sketch produces the error Duplicate method settings() even though there's only one settings() function; the solution is to remove the smooth() call, which makes the error go away, even though the error message doesn't imply that's the solution.

snippet

void settings()
{
}

void setup()
{
  smooth();
}

Additional context

image

Gargaj avatar Nov 27 '24 08:11 Gargaj