aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-28 00:44:38 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-28 00:44:38 +0200
commit0fdbc932838bb6e007cfa8a0079d1880c800ed81 (patch)
treece95fc1a7fe455c66aced9fad1650be8bb6067a1 /Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs
parent518c9192e4445d82f192edcccb2ffb64ffc88a65 (diff)
downloadTango-0fdbc932838bb6e007cfa8a0079d1880c800ed81.tar.gz
Tango-0fdbc932838bb6e007cfa8a0079d1880c800ed81.zip
Removed length from job viewer.
Improved FastTextBlock. Improved PPC segments loading ability from ~40 to ~150.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs
index e8af7c957..cfac759dd 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs
@@ -422,6 +422,14 @@ namespace Tango.PPC.Jobs.ViewModels
if (_db != null)
{
+ if (Job != null)
+ {
+ foreach (var stop in Job.Segments.SelectMany(x => x.BrushStops).ToList())
+ {
+ stop.ColorSpaceChanged -= Stop_ColorSpaceChanged;
+ }
+ }
+
Rmls.ForEach(x => x.Cct = null);
Rmls = null;
_db.Dispose();