aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-23 23:06:51 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-12-23 23:06:51 +0200
commit941679fac898ab6c488674f611e157d5094a8c83 (patch)
treedea9ab97cefed258aeae14539ca04c5ddec79bfc /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs
parent673094ec9200776ff0867ee74be29dff3e275294 (diff)
downloadTango-941679fac898ab6c488674f611e157d5094a8c83.tar.gz
Tango-941679fac898ab6c488674f611e157d5094a8c83.zip
Fixed issue with machine studio job view performance.
Added support for cct caching on RmlBuilder.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/JobView.xaml.cs42
1 files changed, 21 insertions, 21 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 94c1ed802..6e9c62e74 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
@@ -64,29 +64,29 @@ namespace Tango.MachineStudio.Developer.Views
{
if (_vm != null && _vm.ActiveJob != null)
{
- List<Segment> segments = new List<Segment>();
- foreach (var s in _vm.ActiveJob.OrderedSegments)
- {
- segments.Add(s);
+ //List<Segment> segments = new List<Segment>();
+ //foreach (var s in _vm.ActiveJob.OrderedSegments)
+ //{
+ // segments.Add(s);
- if (_vm.ActiveJob.EnableInterSegment && _vm.ActiveJob.OrderedSegments.IndexOf(s) != _vm.ActiveJob.OrderedSegments.Count - 1)
- {
- segments.Add(new Segment()
- {
- Length = _vm.ActiveJob.InterSegmentLength,
- BrushStops = new SynchronizedObservableCollection<BrushStop>()
- {
- new BrushStop()
- {
- ColorSpace = new ColorSpace(),
- Color = Colors.White,
- }
- },
- });
- }
- }
+ // if (_vm.ActiveJob.EnableInterSegment && _vm.ActiveJob.OrderedSegments.IndexOf(s) != _vm.ActiveJob.OrderedSegments.Count - 1)
+ // {
+ // segments.Add(new Segment()
+ // {
+ // Length = _vm.ActiveJob.InterSegmentLength,
+ // BrushStops = new SynchronizedObservableCollection<BrushStop>()
+ // {
+ // new BrushStop()
+ // {
+ // ColorSpace = new ColorSpace(),
+ // Color = Colors.White,
+ // }
+ // },
+ // });
+ // }
+ //}
- jobBrushList.ItemsSource = segments;
+ //jobBrushList.ItemsSource = segments;
UpdateGradientBrushDisplay();
}
}