Skip to content

The [scale] tag is not applied when combined with the [mesh] tag during PSD import #1077

Description

@misaki-eymard

Description:
When both the [scale] and [mesh] tags are specified in a layer or group name, the imported attachment is not scaled to restore its original size in the PSD file.

Expected behavior:
Even when both the [scale] and [mesh] tags are specified in a layer or group name, the imported attachment should be scaled to restore its original size in the PSD file.

Steps to reproduce:

  1. Download the attached .zip file: 1077-scale-mesh-tag-issue.zip
  2. The PSD file inside has the following structure:
Image
  1. Launch Spine 4.3.23 and import the PSD file using Main Menu -> Import PSD...
  2. Check the import result. Deer 2, which does not have the [mesh] tag, has a scale X/Y of 2.0/2.0 and correctly reproduces its size in the PSD. In contrast, Deer 1, which has the [mesh] tag, has a scale X/Y of 1.0/1.0 and does not reproduce its size in the PSD.
Image

Version where this issue was observed:
4.3.23

This issue was reported in the following forum thread:
https://esotericsoftware.com/forum/d/30521-psd%E3%82%A4%E3%83%B3%E3%83%9D%E3%83%BC%E3%83%88%E6%99%82%E3%81%AE%E8%A4%87%E6%95%B0%E3%82%BF%E3%82%B0%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions