diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-07-11 14:01:43 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-07-11 14:01:43 +0300 |
| commit | b2e41ba5213c6a7f08cf8bcb2e4e2654aa6a6224 (patch) | |
| tree | 1b574ea3bf255621bfdd2fde03a93d988ff5a9de /Software/Visual_Studio/PPC | |
| parent | c839fa3d339f90f15e0548fc056828c533123bfc (diff) | |
| download | Tango-b2e41ba5213c6a7f08cf8bcb2e4e2654aa6a6224.tar.gz Tango-b2e41ba5213c6a7f08cf8bcb2e4e2654aa6a6224.zip | |
Refactored CCT to single CCT per RML.
Diffstat (limited to 'Software/Visual_Studio/PPC')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.Jobs/ViewModels/JobViewVM.cs | 2 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs | 2 |
2 files changed, 2 insertions, 2 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 08a5e1168..8b596a45f 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 @@ -1188,7 +1188,7 @@ namespace Tango.PPC.Jobs.ViewModels { Thread.Sleep(500); - if (Job != null && Job.Rml.Ccts.Count > 0 && IsVisible && (Job.ColorSpace != null && (Job.ColorSpace.Code == BL.Enumerations.ColorSpaces.RGB.ToInt32() || Job.ColorSpace.Code == BL.Enumerations.ColorSpaces.LAB.ToInt32()))) + if (Job != null && Job.Rml.Cct != null && IsVisible && (Job.ColorSpace != null && (Job.ColorSpace.Code == BL.Enumerations.ColorSpaces.RGB.ToInt32() || Job.ColorSpace.Code == BL.Enumerations.ColorSpaces.LAB.ToInt32()))) { var brushStops = Job.Segments.SelectMany(x => x.BrushStops).Where(x => !x.Corrected && !x.OutOfGamutChecked).ToList(); diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs index a0734ffb8..f9615199a 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/Printing/DefaultPrintingManager.cs @@ -258,7 +258,7 @@ namespace Tango.PPC.UI.Printing { throw new InvalidOperationException("Error starting job. Please select a catalog color."); } - if (job.Rml.Ccts.Count == 0) + if (job.Rml.Cct == null) { throw new InvalidOperationException($"Error starting job. No color table found for thread '{job.Rml.Name}'."); } |
