aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2024-07-08 20:18:36 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2024-07-08 20:18:36 +0300
commite21ce5868248a5bed5d55dda823c63440768edaa (patch)
treebbe58ec698f8326b666f904af7a03f8fd1cb2463 /Software/Visual_Studio/PPC/Modules
parentc6a6f56a4ec7f02ca08608b7d553ee1822fff664 (diff)
downloadTango-e21ce5868248a5bed5d55dda823c63440768edaa.tar.gz
Tango-e21ce5868248a5bed5d55dda823c63440768edaa.zip
Fixed min liquid.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/BrushStopModel.cs4
1 files changed, 2 insertions, 2 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 430cb99cf..62403e636 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
@@ -1671,11 +1671,11 @@ namespace Tango.PPC.Jobs.Models
if (tables.Count > 0 && liquidType != null && liquidType.MaxNlPerCm != 0)
{
- var vmax = Math.Max(SegmentModel.Job.Rml.VMax / 10d, 1);
+ var vmax = Math.Max(SegmentModel.Job.Rml.VMax / 10d, 0);
if (type == LiquidTypes.Black)
{
- vmax = Math.Max(SegmentModel.Job.Rml.VMax, 1);
+ vmax = Math.Max(SegmentModel.Job.Rml.VMax, 0);
}
return (vmax * tables[0].MinInkUptake) / liquidType.MaxNlPerCm;