summaryrefslogtreecommitdiffstats
path: root/src/filter-chemistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/filter-chemistry.cpp')
-rw-r--r--src/filter-chemistry.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp
index f180dc661..1f4e91c3b 100644
--- a/src/filter-chemistry.cpp
+++ b/src/filter-chemistry.cpp
@@ -168,7 +168,8 @@ filter_add_primitive(SPFilter *filter, const Inkscape::Filters::FilterPrimitiveT
}
//set primitive as child of filter node
- filter->repr->appendChild(repr);
+ // XML tree being used directly while/where it shouldn't be...
+ filter->getRepr()->appendChild(repr);
Inkscape::GC::release(repr);
// get corresponding object