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

unique id for models #817

Merged
merged 9 commits into from
Sep 3, 2024
Merged

unique id for models #817

merged 9 commits into from
Sep 3, 2024

Conversation

ComfyFluffy
Copy link
Contributor

  • modify id for model
  • name -> id

spx-gui/src/components/editor/sprite/CostumeItem.vue Outdated Show resolved Hide resolved
spx-gui/src/models/animation.ts Outdated Show resolved Hide resolved
spx-gui/src/models/animation.ts Outdated Show resolved Hide resolved
spx-gui/src/models/project/index.ts Show resolved Hide resolved
spx-gui/src/models/common/asset.ts Outdated Show resolved Hide resolved
spx-gui/src/models/sprite.ts Outdated Show resolved Hide resolved
spx-gui/src/models/backdrop.ts Show resolved Hide resolved
spx-gui/src/models/sprite.ts Outdated Show resolved Hide resolved
@@ -226,12 +220,13 @@ export class Sprite extends Disposable {
this.addDisposer(() => {
this.animations.splice(0).forEach((a) => a.dispose())
})
// This should be set after the animations are created
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mark: 这里是之前的 animation load 逻辑不太合理造成的,我回头改一下

@nighca nighca mentioned this pull request Sep 2, 2024
@nighca nighca linked an issue Sep 2, 2024 that may be closed by this pull request
spx-gui/src/models/sprite.ts Outdated Show resolved Hide resolved
@qiniu-ci
Copy link

qiniu-ci commented Sep 3, 2024

The PR environment is ready, please check the PR environment

[Attention]: This environment will be automatically cleaned up after a certain period of time., please make sure to test it in time. If you have any questions, please contact the builder team.

@ComfyFluffy ComfyFluffy merged commit 7358c38 into goplus:dev Sep 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ID for Project Elements
3 participants