添加部分功能,以及等高线模型
This commit is contained in:
1 parent
663efa5c75
commit
512b1814e1
108 files changed
+239
-240
No files matched your search
@@ -403,7 +403,7 @@ public class CelestialView : Control, IDisposable
|
||||
_sphere?.Dispose();
|
||||
_sphere = null;
|
||||
_sphereSize = 0;
|
||||
GC.SuppressFinalize(this);
|
||||
System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
private void OnTick(object? sender, EventArgs e)
|
||||
|
||||
@@ -9,7 +9,7 @@ using Avalonia.Input;
|
||||
using Avalonia.Layout;
|
||||
using Avalonia.Media;
|
||||
using Avalonia.Threading;
|
||||
using EarthModelStudio.ModelSdk;
|
||||
using GC.ModelSdk;
|
||||
|
||||
namespace NeoRF.EarthModels;
|
||||
|
||||
@@ -187,7 +187,7 @@ public sealed class EarthModelView : UserControl, IDisposable
|
||||
}
|
||||
_canvas.Dispose();
|
||||
_closeup.Dispose();
|
||||
GC.SuppressFinalize(this);
|
||||
System.GC.SuppressFinalize(this);
|
||||
}
|
||||
|
||||
private string CurrentView { get; set; } = "rotation";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using Avalonia.Controls;
|
||||
using EarthModelStudio.ModelSdk;
|
||||
using GC.ModelSdk;
|
||||
|
||||
namespace NeoRF.EarthModels;
|
||||
|
||||
@@ -40,6 +40,6 @@ public sealed class EarthModelRuntime : IModelRuntime
|
||||
public void Dispose()
|
||||
{
|
||||
_scene = null;
|
||||
GC.SuppressFinalize(this);
|
||||
System.GC.SuppressFinalize(this);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user