summaryrefslogtreecommitdiffstats
path: root/src/livarot/ShapeMisc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/livarot/ShapeMisc.cpp')
-rw-r--r--src/livarot/ShapeMisc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/livarot/ShapeMisc.cpp b/src/livarot/ShapeMisc.cpp
index db5c19297..b76ea5875 100644
--- a/src/livarot/ShapeMisc.cpp
+++ b/src/livarot/ShapeMisc.cpp
@@ -397,7 +397,7 @@ Shape::ConvertToFormeNested (Path * dest, int nbP, Path * *orig, int /*wildPath*
parentContour = GPOINTER_TO_INT(swdData[askTo].misc);
parentContour-=1; // pour compenser le decalage
}
- childEdge = getPoint(fi).incidentEdge[FIRST];
+ childEdge = getPoint(fi % numberOfPoints()).incidentEdge[FIRST];
}
}
lastPtUsed = fi + 1;