aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-08-27 17:20:54 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-08-27 17:20:54 +0300
commitda669922e69a95654dcbcdd7c7fdafe0c4de0a77 (patch)
tree8e3398c8132e3c51471d2ee18daffe1bf47167d9 /Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs
parentbf8bffbd56328b55b98db79e700bd3dc4dc8e882 (diff)
downloadTango-da669922e69a95654dcbcdd7c7fdafe0c4de0a77.tar.gz
Tango-da669922e69a95654dcbcdd7c7fdafe0c4de0a77.zip
Correct K < 0.5 during VFT.
Related Work Items: #7959
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs
index 5464aa5ed..a6e7af170 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs
@@ -1558,6 +1558,10 @@ namespace Tango.PPC.Jobs.Models
_yellow = (output.SingleCoordinates.OutputLiquids.SingleOrDefault(x => x.LiquidType == PMR.ColorLab.LiquidType.Yellow).Volume);
_magenta = (output.SingleCoordinates.OutputLiquids.SingleOrDefault(x => x.LiquidType == PMR.ColorLab.LiquidType.Magenta).Volume);
_black = (output.SingleCoordinates.OutputLiquids.SingleOrDefault(x => x.LiquidType == PMR.ColorLab.LiquidType.Black).Volume);
+ if(_black > 0 && _black < 0.5)//bug 7959 0.001 < K% < 0.5 ==> reset the K to 0.
+ {
+ _black = 0;
+ }
IsOutOfGamut = output.OutOfGamut;
if(IsOutOfGamut)
{