summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 612be9a)
raw | patch | inline | side by side (parent: 612be9a)
author | joncruz <joncruz@users.sourceforge.net> | |
Tue, 2 Sep 2008 08:29:21 +0000 (08:29 +0000) | ||
committer | joncruz <joncruz@users.sourceforge.net> | |
Tue, 2 Sep 2008 08:29:21 +0000 (08:29 +0000) |
src/shape-editor.cpp | patch | blob | history |
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index a6bb138556daf7eed874fa8a85138c5413d14c60..91fdeca350508f31324731f170b819b99a3c2a73 100644 (file)
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
if (SP_IS_SHAPE(item)) {
curve = sp_shape_get_curve(SP_SHAPE(item));
} else {
- this->nodepath->curve; // not sure if np->curve is always up to date...
+ curve = this->nodepath->curve; // not sure if np->curve is always up to date...
}
Geom::PathVector const &pathv = curve->get_pathvector();
Geom::PathVectorPosition pvpos = Geom::nearestPoint(pathv, this->curvepoint_doc);