Closed wumaolinmaoan closed 3 weeks ago
The AssetManager
class in asset-manager.ts
underwent modifications to ensure proper handling of images. Before processing images, the code now confirms that the renderer
is not null, thus preventing potential exceptions. When renderer
is valid, it creates ImageAsset
instances and adds them seamlessly to the renderer engine.
File Path | Change Summary |
---|---|
packages/effects-core/src/... |
Updated AssetManager to check if renderer is not null before processing images to prevent exceptions. Modifications include direct usage of renderer.engine without null checks. |
In the code where assets thrive,
Checks onrenderer
now keep it alive.
Images flow without a halt,
A smoother engine, fewer faults.
A simple change, yet so grand,
EnhancingAssetManager
's hand.
🐇✨
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