Skip to content

Exporting a costume with an error exports the "error" costume. #1347

@Ascor8522

Description

@Ascor8522

Expected Behavior

When right-clicking an SVG costume with an error (showing the quesrtion mark on a grey background), the original (broken) SVG costume should be exported, even tho its preview is not available.

Actual Behavior

The "error" SVG costume (the one with a grey background and a back question mark) is exported.

In the Scratch Editor:
image
The exported costumed onpened in VSCode:
image
The original costume fecthed from the CDN during project download:
image

Steps to Reproduce

  1. Create a project.
  2. Export a falty SVG or wait for it to be corrupted by the Scratch server at some point.
  3. Open the costume editor of the corrupted/broken costume.
  4. Export the costume by right-clicking it.

Operating System and Browser

Scratch online.

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