diff --git a/src/nodepath.cpp b/src/nodepath.cpp
index d50ec769e311ced918c45c8730042169eac6b890..d82b82f0d01645be6ce916da6c4cbf7cd4564064 100644 (file)
--- a/src/nodepath.cpp
+++ b/src/nodepath.cpp
return NULL;
NArtBpath *bpath = curve->first_bpath();
- gint length = curve->end;
+ gint length = curve->_end;
if (length == 0) {
curve->unref();
return NULL; // prevent crash for one-node paths