this better be fixed

This commit is contained in:
Yoshman29
2023-01-08 23:33:39 +01:00
parent 1e8c2ccfad
commit b89574fc5f
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
1955
1956
+8 -2
View File
@@ -131,8 +131,14 @@ class Flx3DView extends FlxView3D {
var bundle = Asset3DLibraryBundle.getInstance('Flx3DView-${__cur3DStageID}');
@:privateAccess
if (bundle != null)
for(asset in bundle._assets)
bundle.removeAsset(asset, true);
for(asset in bundle._assets) {
// very unstable!!
try {
bundle.removeAsset(asset, true);
} catch(e) {
// woops
}
}
}
public inline function addChild(c)