aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-08-03 14:57:19 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-08-03 14:57:19 +0300
commitcea6dbf4dedf06ba95db5e1b6bb63f207de32a41 (patch)
tree5eef4cfcb9622530e69f8a10acd26e5b535b44c4
parent269c00bf8857d631c5158cc13976b5aef161c727 (diff)
downloadTango-cea6dbf4dedf06ba95db5e1b6bb63f207de32a41.tar.gz
Tango-cea6dbf4dedf06ba95db5e1b6bb63f207de32a41.zip
remove white gap when moving back to "basic" job editor
Related Work Items: #8859
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs
index 46898210e..5738fe8a0 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs
@@ -768,6 +768,8 @@ namespace Tango.PPC.Jobs.ViewModels
printConfig.FirstUnitStartPosition = ResumeModel.FirstUnitStartPosition;
printConfig.GlobalStartPosition = ResumeModel.GlobalStartPosition;
printConfig.RemainingUnits = ResumeModel.RemainingUnits;
+ // LogManager.Log($"Start Job resume : FirstUnitStartPosition = {ResumeModel.FirstUnitStartPosition} GlobalStartPosition = {ResumeModel.GlobalStartPosition} RemainingUnits = {ResumeModel.RemainingUnits}", LogCategory.Debug);
+
}
var handler = await PrintingManager.Print(Job, _db, printConfig);
@@ -1545,6 +1547,8 @@ namespace Tango.PPC.Jobs.ViewModels
JobModel.Segments.Clear();
JobModel.Segments.Add(firstSegment);
JobModel.GroupingSegments.Add(firstSegment);
+ JobModel.EnableInterSegment = false;
+ JobModel.InterSegmentLength = 0;
if (firstSegment.IsGradient)
{
BrushStopModel firstbrush = firstSegment.FirstBrushStop;