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

Fix glTF animation bug #1837

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Conversation

GuoLei1990
Copy link
Member

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

@@ -108,6 +108,11 @@ export class GLTFAnimationParser extends GLTFParser {
entity = entity.parent;
}

// If the target node is in the default scene, relativePath will be empty
if (entity !== context.glTFResource.defaultSceneRoot) {
Copy link
Contributor

@luzhuang luzhuang Oct 25, 2023

Choose a reason for hiding this comment

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

Is there also a bug in multi-scene ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes! But is same with before talk

@GuoLei1990 GuoLei1990 merged commit 437b374 into galacean:main Oct 25, 2023
5 checks passed
@GuoLei1990 GuoLei1990 added bug Something isn't working glTF labels Oct 25, 2023
@GuoLei1990 GuoLei1990 deleted the pr/animation-bug branch November 17, 2023 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working glTF
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants