don't call removeAnimationComponent in viewer (moved to FilamentApp.destroyAsset)
This commit is contained in:
@@ -459,7 +459,6 @@ class ThermionViewerFFI extends ThermionViewer {
|
||||
@override
|
||||
Future destroyAsset(covariant FFIAsset asset) async {
|
||||
_assets.remove(asset);
|
||||
await asset.removeAnimationComponent();
|
||||
await scene.remove(asset);
|
||||
|
||||
if (asset.boundingBoxAsset != null) {
|
||||
|
||||
Reference in New Issue
Block a user