summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 152db63)
raw | patch | inline | side by side (parent: 152db63)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 30 Oct 2007 23:40:31 +0000 (23:40 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Tue, 30 Oct 2007 23:40:31 +0000 (23:40 +0000) |
src/live_effects/lpe-pathalongpath.cpp | patch | blob | history |
index 0e9be8f1626fe58f518bc8d2c4fcb622b3e270ee..cd9c433f7d9cd87b6f386b994888f774936a13b2 100644 (file)
#include "live_effects/lpe-pathalongpath.h"\r
#include "sp-shape.h"\r
#include "sp-item.h"\r
+#include "sp-path.h"\r
#include "display/curve.h"\r
#include <libnr/n-art-bpath.h>\r
#include <libnr/nr-matrix-fns.h>\r
void\r
LPEPathAlongPath::resetDefaults(SPItem * item)\r
{\r
+ if (!SP_IS_PATH(item)) return;\r
+\r
using namespace Geom;\r
\r
// set the bend path to run horizontally in the middle of the bounding box of the original path\r