Skip to content

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

Open
@Gargaj

Description

@Gargaj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already existshelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions