aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2024-11-24 23:28:19 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2024-11-24 23:28:19 +0200
commit9e9a565b76877c7bcedd82639c4b5f851196ea90 (patch)
tree81e111fa5cd84d48d9b4aadfeaf6cdcf29267c31 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs
parent331266b13685e16520ae5baa8a7aff50789c31df (diff)
downloadTango-9e9a565b76877c7bcedd82639c4b5f851196ea90.tar.gz
Tango-9e9a565b76877c7bcedd82639c4b5f851196ea90.zip
Added Extra Inks + Color Blending + MS Handling.
Removed Violet Impl. Updated Inks LAB.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs26
1 files changed, 1 insertions, 25 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs
index db0d7e2aa..0962cd4d1 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.RML/ViewModels/MainViewVM.cs
@@ -350,31 +350,7 @@ namespace Tango.MachineStudio.RML.ViewModels
public override async void OnApplicationReady()
{
- using (_notification.PushTaskItem("Loading color measurements..."))
- {
- using (var db = ObservablesContext.CreateDefault())
- {
- var measurements = await db.ColorMeasurements.ToListAsync();
-
- List<PMR.ColorLab.ColorMeasurement> pmrMeasurements = new List<PMR.ColorLab.ColorMeasurement>();
- foreach (var m in measurements)
- {
- pmrMeasurements.Add(new PMR.ColorLab.ColorMeasurement()
- {
- C = m.C,
- M = m.M,
- Y = m.Y,
- K = m.K,
- V = m.V,
- L = m.L,
- A = m.A,
- B = m.B,
- });
- }
-
- DefaultColorConverter.SetMeasurements(pmrMeasurements);
- }
- }
+
}
private async Task LoadRmls()