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