diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-conn-end-pair.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-conn-end-pair.cpp b/src/sp-conn-end-pair.cpp index 3cc022c39..e22145425 100644 --- a/src/sp-conn-end-pair.cpp +++ b/src/sp-conn-end-pair.cpp @@ -224,7 +224,7 @@ SPConnEndPair::getEndpoints(Geom::Point endPts[]) const { g_assert(h2attItem[h]->avoidRef); endPts[h] = h2attItem[h]->avoidRef->getConnectionPointPos(_connEnd[h]->type, _connEnd[h]->id); } - else + else if (!curve->is_empty()) { if (h == 0) { endPts[h] = *(curve->first_point())*i2d; |
