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, 5 insertions, 0 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index f1ce029f4..3ee5b5d61 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -23,6 +23,7 @@
#include "svg/svg.h"
#include "sp-path.h"
#include "sp-shape.h"
+#include "sp-image.h"
#include "marker.h"
#include "enums.h"
#include "sp-text.h"
@@ -1713,6 +1714,10 @@ Path_for_item(SPItem *item, bool doTransformation, bool transformFull)
{
curve = SP_TEXT(item)->getNormalizedBpath();
}
+ else if (SP_IS_IMAGE(item))
+ {
+ curve = sp_image_get_curve(SP_IMAGE(item));
+ }
else
{
curve = NULL;