Skip to content

PR: Fix various issues with snapshot upload fee calculation #2691

@marchcat

Description

@marchcat

Created from PR #2688.

  • Calculation of upload in snapshot to inventory panel for insufficient funds was based on preview image size instead of encoded image size, resulting in upload fees of L$50 for textures <= 1024x1024 pixels
  • Calculation on the options button had the same issue plus additionally was using referring to the previously used snapshot type which isn't necessarily the same as snapshot to inventory. Removed the upload fee from the button.
  • Added back display of calculated upload fee on the snapshot to inventory panel itself. The fee is updated if the image size changes to always display the correct upload fee.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staletriageFlags issues that need to be triaged

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions