Skip to content

IconState::get_image does not properly work with multi-dir statesΒ #24

@warriorstar-orion

Description

@warriorstar-orion

See test case here: https://github.com/warriorstar-orion/testcase_dmi_rust and run with cargo run --package testcase_dmi_rust --bin testcase_dmi_rust

The DMI file in the repro repo contains the following single 4-dir icon state with multiple frames:

Image

When attempting to extract all frames of the SOUTH icon state, we instead get the first frames of all directions:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions