diff --git a/src/box3d-side.cpp b/src/box3d-side.cpp
index d6f1f6b426cca8fa4d6c93d8abf1b95bd3608bbf..6838008bb2492804dd26c65983a0e7e5f79ea741 100644 (file)
--- a/src/box3d-side.cpp
+++ b/src/box3d-side.cpp
Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc);
Inkscape::XML::Node *repr = xml_doc->createElement("svg:path");
- repr->setAttribute("d", SP_OBJECT_REPR(side)->attribute("d"));
- repr->setAttribute("style", SP_OBJECT_REPR(side)->attribute("style"));
+ //repr->setAttribute("d", SP_OBJECT_REPR(side)->attribute("d"));
+ repr->setAttribute("d", side->getAttribute("d"));
+ //repr->setAttribute("style", SP_OBJECT_REPR(side)->attribute("style"));
+ repr->setAttribute("style", side->getAttribute("style"));
return repr;
}