aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operation/DefaultGradientGenerationConfiguration.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-03-24 15:24:21 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-03-24 15:24:21 +0200
commit0aafe6fb38d19e8474483c4b8a28ce645c53045f (patch)
tree83c34048b288adf6a2375297e56cabe5a4466c77 /Software/Visual_Studio/Tango.Integration/Operation/DefaultGradientGenerationConfiguration.cs
parentdb9308c46379fb324678ba04771dbee4edae4b17 (diff)
downloadTango-0aafe6fb38d19e8474483c4b8a28ce645c53045f.tar.gz
Tango-0aafe6fb38d19e8474483c4b8a28ce645c53045f.zip
WOrking on android.
some fixes to machine studio.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation/DefaultGradientGenerationConfiguration.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/DefaultGradientGenerationConfiguration.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/DefaultGradientGenerationConfiguration.cs b/Software/Visual_Studio/Tango.Integration/Operation/DefaultGradientGenerationConfiguration.cs
index 45d31d9be..d4cc9ce21 100644
--- a/Software/Visual_Studio/Tango.Integration/Operation/DefaultGradientGenerationConfiguration.cs
+++ b/Software/Visual_Studio/Tango.Integration/Operation/DefaultGradientGenerationConfiguration.cs
@@ -41,7 +41,7 @@ namespace Tango.Integration.Operation
/// </summary>
public DefaultGradientGenerationConfiguration()
{
- ResolutionCM = 50;
+ ResolutionCM = 500;
}
/// <summary>
@@ -54,6 +54,8 @@ namespace Tango.Integration.Operation
/// <returns></returns>
public List<BrushStop> Generate(Segment segment, Job job, ProcessParametersTable processParameters, Action<PreparingJobProgressEventArgs> progress = null)
{
+ //var stops = TangoColorConverter.CreateSegmentLinearGradient(segment, processParameters, ResolutionCM);
+
List<BrushStop> stops = new List<BrushStop>();
var previousSegmentsLength = segment.GetPreviousSegments().Sum(x => x.Length);