summaryrefslogtreecommitdiffstats
path: root/src/trace
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace')
-rw-r--r--src/trace/trace.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/trace/trace.cpp b/src/trace/trace.cpp
index e9bc48372..cff464e9f 100644
--- a/src/trace/trace.cpp
+++ b/src/trace/trace.cpp
@@ -482,7 +482,8 @@ void Tracer::traceThread()
}
//### Get pointers to the <image> and its parent
- Inkscape::XML::Node *imgRepr = SP_OBJECT(img)->repr;
+ //XML Tree being used directly here while it shouldn't be.
+ Inkscape::XML::Node *imgRepr = SP_OBJECT(img)->getRepr();
Inkscape::XML::Node *par = sp_repr_parent(imgRepr);
//### Get some information for the new transform()