diff --git a/.addon b/.addon index 203b1df..4d3a194 100644 --- a/.addon +++ b/.addon @@ -10,5 +10,7 @@ "ResourcePaths": null, "HasCode": true, "CodePath": "/code/", + "PackageReferences": [], + "EditorReferences": null, "Metadata": {} } \ No newline at end of file diff --git a/code/BridgeImporter.cs b/code/BridgeImporter.cs index 9d48eef..53ff606 100644 --- a/code/BridgeImporter.cs +++ b/code/BridgeImporter.cs @@ -31,7 +31,8 @@ public async Task ImportFrom( BridgeAsset quixelAsset ) var mdlPath = Path.Join( relativePath, $"{quixelAsset.Name.ToSourceName()}_{quixelAsset.Id}.vmdl" ); // Locate imported s&box asset - var engineAsset = AssetSystem.All.FirstOrDefault( x => x.Path.NormalizeFilename() == mdlPath.NormalizeFilename() ); + var assets = AssetSystem.All.ToList(); + var engineAsset = assets.FirstOrDefault( x => x.Path.NormalizeFilename() == mdlPath.NormalizeFilename() ); if ( engineAsset == null ) { diff --git a/code/Progress/ProgressWindow.cs b/code/Progress/ProgressWindow.cs index b990772..78d7cb0 100644 --- a/code/Progress/ProgressWindow.cs +++ b/code/Progress/ProgressWindow.cs @@ -53,7 +53,6 @@ protected override void DoLayout() base.DoLayout(); Content.Size = Size; - Content.Height = Content.Children.Where( x => x.Visible ).Sum( x => MathF.Max( x.SizeHint.y, x.MinimumSize.y ) + 1 ) - 1; Content.Position = new Vector2( 0, MenuWidget.Height ); Size = Content.Position + Content.Size + new Vector2( 0, 4 );