aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-12-13 17:16:43 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-12-13 17:16:43 +0200
commit97ea085d1fac43aedc5258486ef355eb13abc195 (patch)
tree56926888c8d35fcafd8d4b4e8db2aed9be52feba /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views
parentd9a89773f2f283fbf5596799dd4d50d231817203 (diff)
downloadTango-97ea085d1fac43aedc5258486ef355eb13abc195.tar.gz
Tango-97ea085d1fac43aedc5258486ef355eb13abc195.zip
Fixed issues in segment indices !!!
Fixed issue with PPC fine tuning. Added support to Twine & Panton in color conversion.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs
index 8c58690fd..f3af53352 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs
@@ -65,11 +65,11 @@ namespace Tango.MachineStudio.Developer.Views
if (_vm != null && _vm.ActiveJob != null)
{
List<Segment> segments = new List<Segment>();
- foreach (var s in _vm.ActiveJob.Segments.OrderBy(x => x.SegmentIndex))
+ foreach (var s in _vm.ActiveJob.OrderedSegments)
{
segments.Add(s);
- if (_vm.ActiveJob.EnableInterSegment && _vm.ActiveJob.Segments.IndexOf(s) != _vm.ActiveJob.Segments.Count - 1)
+ if (_vm.ActiveJob.EnableInterSegment && _vm.ActiveJob.OrderedSegments.IndexOf(s) != _vm.ActiveJob.OrderedSegments.Count - 1)
{
segments.Add(new Segment()
{