diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2016-11-17 12:13:09 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2016-11-17 12:13:09 +0000 |
| commit | a5fcbbd7a6bcc7fb65658ee42f85f41acca02ee5 (patch) | |
| tree | 4d07153f85327722b0b55718eca990931f908031 /src/sp-mesh-array.cpp | |
| parent | Do not return invalid vector gradient when switching from mesh to linear/radi... (diff) | |
| download | inkscape-a5fcbbd7a6bcc7fb65658ee42f85f41acca02ee5.tar.gz inkscape-a5fcbbd7a6bcc7fb65658ee42f85f41acca02ee5.zip | |
Fix path outline function for meshes with nrow != ncolumn.
(bzr r15255)
Diffstat (limited to '')
| -rw-r--r-- | src/sp-mesh-array.cpp | 2 |
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); } |
