summaryrefslogtreecommitdiffstats
path: root/src/box3d-side.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-05 13:37:33 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-05 13:37:33 +0000
commitcfe48de7f071e2e07a1f2f2ace3456f7b410e93b (patch)
tree281d760873c84db3a67518ab19e61bb213f1eab7 /src/box3d-side.cpp
parentCombined some classes. (diff)
downloadinkscape-cfe48de7f071e2e07a1f2f2ace3456f7b410e93b.tar.gz
inkscape-cfe48de7f071e2e07a1f2f2ace3456f7b410e93b.zip
Merged Shape and subclasses. Cleaned up a bit.
(bzr r11608.1.76)
Diffstat (limited to 'src/box3d-side.cpp')
-rw-r--r--src/box3d-side.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/box3d-side.cpp b/src/box3d-side.cpp
index ca80f91df..240a2ee98 100644
--- a/src/box3d-side.cpp
+++ b/src/box3d-side.cpp
@@ -37,7 +37,6 @@ namespace {
}
Box3DSide::Box3DSide() : SPPolygon() {
- this->cshape = this;
this->clpeitem = this;
this->citem = this;
this->cobject = this;
@@ -68,7 +67,7 @@ Inkscape::XML::Node* Box3DSide::write(Inkscape::XML::Document *xml_doc, Inkscape
sp_repr_set_int(repr, "inkscape:box3dsidetype", this->dir1 ^ this->dir2 ^ this->front_or_rear);
}
- this->setShape();
+ this->set_shape();
/* Duplicate the path */
SPCurve const *curve = this->_curve;
@@ -127,7 +126,7 @@ void Box3DSide::update(SPCtx* ctx, guint flags) {
SP_OBJECT_STYLE_MODIFIED_FLAG |
SP_OBJECT_VIEWPORT_MODIFIED_FLAG)) {
- this->setShape();
+ this->set_shape();
}
SPPolygon::update(ctx, flags);