Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpriteFrame的clone的时候,packable没有正确进行克隆 #16744

Closed
Modo-Global opened this issue Feb 21, 2024 · 0 comments
Closed

SpriteFrame的clone的时候,packable没有正确进行克隆 #16744

Modo-Global opened this issue Feb 21, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@Modo-Global
Copy link

Cocos Creator version

3.8.2

System information

all

Issue description

SpriteFrame的clone的时候,packable没有正确进行克隆。
我查看了源码,确实没有对这个属性进行处理。

Relevant error log output

No response

Steps to reproduce

先获取到一个spriteFrame,并且将其packable设置成false。
然后通过spriteFrame.clone()得到的新的对象,其packable为true,期望值应该是false。

Minimal reproduction project

No response

@Modo-Global Modo-Global added Bug Needs Triage Needs to be assigned by the team labels Feb 21, 2024
@minggo minggo removed the Needs Triage Needs to be assigned by the team label Mar 14, 2024
@minggo minggo added this to the v3.8.3 milestone Mar 14, 2024
@minggo minggo closed this as completed Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants