aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryFileEditor.xaml.cs
diff options
context:
space:
mode:
authorRoy <roy.mail.net@gmail.com>2018-03-05 09:12:59 +0200
committerRoy <roy.mail.net@gmail.com>2018-03-05 09:12:59 +0200
commit8e2cbf02b6c819e92ee4eec2a673586438edfa93 (patch)
treec12fd2c91c5abb4cae725ac39792c69b25118faa /Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryFileEditor.xaml.cs
parent2b8e41b5279c2d3ab370595f6593b64ea734ef87 (diff)
downloadTango-8e2cbf02b6c819e92ee4eec2a673586438edfa93.tar.gz
Tango-8e2cbf02b6c819e92ee4eec2a673586438edfa93.zip
Some work on embroidery import/export.
Diffstat (limited to 'Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryFileEditor.xaml.cs')
-rw-r--r--Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryFileEditor.xaml.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryFileEditor.xaml.cs b/Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryFileEditor.xaml.cs
index 9d7475aea..1ed1e5b18 100644
--- a/Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryFileEditor.xaml.cs
+++ b/Software/Visual_Studio/Embroidery/Tango.EmbroideryUI/EmbroideryFileEditor.xaml.cs
@@ -215,6 +215,7 @@ namespace Tango.EmbroideryUI
{
path.PathFigure.Segments.Add(new LineSegment(new Point(_currentPoint.X, _currentPoint.Y), true));
path.Length += Math.Abs(GetDistance(_lastStitch.XX, _lastStitch.YY, stitch.XX, stitch.YY));
+ path.StitchCount++;
}
_mode = StitchFlag.Normal;
break;