Skip to content

Incorrect error message in fillGradientAngular function #584

Description

@nico-robert

There is a mismatch between the validation check and the error message in the fillGradientAngular()

if paint.gradientHandlePositions.len != 3:
    raise newException(PixieError, "Angular gradient requires 2 handles")

The code validates that gradientHandlePositions.len must equal 3
But the error message states "requires 2 handles"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions