Skip to content

pymunk.pyglet_util using wrong keyword argument to drawcircle #269

Closed
@zouflain

Description

@zouflain

Image

Not sure how this error arose, but the pymunk\pyglet_util.py file has numerous errors in it that cause a fatal exception when attempting to use the pyglet_util module for drawing. The pyglet.shapes.Line object takes a "thickness" keyword argument that is omitted from the call in pyglet_util and is instead given a "width" argument that raises an exception.

I happened to encounter this error at pymunk\pyglet_util.py line 127, but it appears that every instance of the pyglet.shapes.Line object being initialized is wrong.

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