Skip to content

Sprite list insert method does not load textures for the sprite #1021

Description

@arnhrwd

Bug Report

The sprite list insert method does not load the textures for the sprite, and so the sprite is not visible when using this method to add a sprite to the list.

Actual behavior:

A sprite inserted into the list is not visible.

Expected behavior:

The sprite should be visible, the same as when the append method is used.

Steps to reproduce/example code:

self.sprite_list.insert(index,sprite)

self.sprite_list.append(sprite) # Hack to get the insert operation to work
self.sprite_list.remove(sprite) #
self.sprite_list.insert(index,sprite)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    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