diff --git a/src/box3d-side.cpp b/src/box3d-side.cpp
index 69bae53d93b696fb1f362d85b7ac2bee9650a1f3..be6d47db736e205109651a2f317c977fbb5bdd4d 100644 (file)
--- a/src/box3d-side.cpp
+++ b/src/box3d-side.cpp
if (((SPObjectClass *) parent_class)->build)
((SPObjectClass *) parent_class)->build (object, document, repr);
- sp_object_read_attr(object, "inkscape:box3dsidetype");
+ object->readAttr( "inkscape:box3dsidetype");
}
static Inkscape::XML::Node *
if (((SPObjectClass *) parent_class)->update)
((SPObjectClass *) parent_class)->update (object, ctx, flags);
}
+/*
+ * Function which return the type attribute for Box3D.
+ * Acts as a replacement for directly accessing the XML Tree directly.
+ */
+long long int Box3DSide::getFaceId()
+{
+ return this->getIntAttribute("inkscape:box3dsidetype", -1);
+}
void
box3d_side_position_set (Box3DSide *side) {