summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sp-mesh-array.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-mesh-array.cpp b/src/sp-mesh-array.cpp
index 2340b1936..47480f10c 100644
--- a/src/sp-mesh-array.cpp
+++ b/src/sp-mesh-array.cpp
@@ -2798,7 +2798,7 @@ SPCurve * SPMeshNodeArray::outline_path() {
}
// Bottom (right to left)
- for (int i = 1; i < nrow; i += 3 ) {
+ for (int i = 1; i < ncol; i += 3 ) {
outline->curveto( nodes[nrow-1][ncol-i-1]->p, nodes[nrow-1][ncol-i-2]->p, nodes[nrow-1][ncol-i-3]->p);
}