From cea6dbf4dedf06ba95db5e1b6bb63f207de32a41 Mon Sep 17 00:00:00 2001 From: Victoria Plitt Date: Thu, 3 Aug 2023 14:57:19 +0300 Subject: remove white gap when moving back to "basic" job editor Related Work Items: #8859 --- .../PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobViewVM.cs') 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; -- cgit v1.3.1