Skip to content

Normal maps and Python 3.8 #299

@graemeniedermayer

Description

@graemeniedermayer

I think this type hinting feature was introduced in python 3.10 so maybe we shouldn't use it for compatible reasons.

I got this error with python 3.8

pre_blur: int | None = None, sobel_gradient: int | None = 3, post_blur: int | None = None,
TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

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