Closed liuxi150 closed 2 weeks ago
The recent changes primarily focus on dependency updates and minor code refactoring across several packages. Notably, the @galacean/effects-specification
and @vvfx/resource-detection
dependencies have been updated to newer versions. Code refactoring includes altering variable initializations in hit-test.ts
and employing a clone()
method in LoaderImpl
class to manage texture data. These updates enhance the consistency and maintainability of the codebase.
File Path | Change Summary |
---|---|
...cts-core/package.json |
Updated @galacean/effects-specification dependency from 2.0.0-alpha.19 to 2.0.0-alpha.20 . |
plugin-packages/model/package.json |
Updated @vvfx/resource-detection dependency from 0.6.0-alpha.9 to 0.6.0-alpha.11 . |
web-packages/test/package.json |
Updated @vvfx/resource-detection dependency from 0.6.0-alpha.9 to 0.6.0-alpha.11 . |
plugin-packages/model/demo/src/hit-test.ts |
Modified initialization of the url variable to be assigned directly rather than through a constant declaration. |
plugin-packages/model/src/gltf/loader-impl.ts |
In the LoaderImpl class, replaced the creation of a new GLTFTexture object with a clone() method call on texData and directly assigned textureOptions.id . |
A rabbit’s work is never done,
Update, refactor, the code must run. 🐇
Dependencies now fresh and bright,
Textures cloned just right. 🌟
URLs set in proper style,
Enhancing code by mile upon mile.
With every line, we trust, the software's growing robust.✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
Dependencies
@galacean/effects-specification
to2.0.0-alpha.20
ineffects-core
.@vvfx/resource-detection
to0.6.0-alpha.11
inplugin-packages/model
andweb-packages/test
.Improvements
clone()
method, improving performance and maintainability.