Ticket #87: patch2.txt

File patch2.txt, 487 bytes (added by kleptog, 8 months ago)
Line 
1Index: src/placement_finder.cpp
2===================================================================
3--- src/placement_finder.cpp    (revision 690)
4+++ src/placement_finder.cpp    (working copy)
5@@ -156,7 +156,7 @@
6       double total_distance = get_total_distance<T>(shape_path);
7       shape_path.rewind(0);
8       
9-      if (distance == 0) //Point data, not a line
10+      if (total_distance == 0) //Point data, not a line
11       {
12          double x, y;
13          shape_path.vertex(&x,&y);