Skip to content

Creating sprites without a texture crashes python #145

@tgrajewski

Description

@tgrajewski

This line crashes python:

sprite = sf.Sprite(None)

Would be great if at least an exception could be thrown here. And even better would be if a non-renderable sprite would be created with a possibility of setting a texture later in code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions