summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index 9185ec84b..6d592f662 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -1741,11 +1741,8 @@ Path *
Path_for_item(SPItem *item, bool doTransformation, bool transformFull)
{
SPCurve *curve = curve_for_item(item);
- NArtBpath *bpath = bpath_for_curve(item, curve, doTransformation, transformFull, NR::identity(), NR::identity());
-
- if (bpath == NULL) {
+ if (curve == NULL)
return NULL;
- }
Geom::PathVector pathv = pathvector_for_curve(item, curve, doTransformation, transformFull);