cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Fix divide zero issue in mat4.toSRT which causes node._lrot with NaN values.

Open dumganhar opened this issue 2 months ago • 1 comments

Re: #16929

If node._lrot.x is NaN, it will be serialized to scene data with null value.

企业微信截图_b5056fb5-4838-440b-9b90-774731779425

Changelog


Continuous Integration

This pull request:

  • [ ] needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • [ ] does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • [ ] changes public API, and have ensured backward compatibility with deprecated features.
  • [ ] affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • [ ] affects file structure of the build package or build configuration which requires user project upgrade.
  • [ ] introduces breaking changes, please list all changes, affected features and the scope of violation.

dumganhar avatar Apr 26 '24 10:04 dumganhar

Interface Check Report

This pull request does not change any public interfaces !

github-actions[bot] avatar Apr 26 '24 10:04 github-actions[bot]