summaryrefslogtreecommitdiffstats
path: root/src/box3d-face.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2007-07-14 14:51:56 +0000
committercilix42 <cilix42@users.sourceforge.net>2007-07-14 14:51:56 +0000
commit01616ad9d6084dc6ef4fc14622b018ee582431d2 (patch)
tree18b19bc71561e666249d6c0021e2700561fa9909 /src/box3d-face.h
parentFilter effects dialog: (diff)
downloadinkscape-01616ad9d6084dc6ef4fc14622b018ee582431d2.tar.gz
inkscape-01616ad9d6084dc6ef4fc14622b018ee582431d2.zip
Write distinguished corners of 3D boxes to the svg representation from which the box can be recomputed.
This is used to fix several bugs related to the editing of boxes resulting from cloning, undo operations or newly opened documents (we had stray pointers to SPPaths before that made Inkscape crash). (bzr r3239)
Diffstat (limited to 'src/box3d-face.h')
-rw-r--r--src/box3d-face.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box3d-face.h b/src/box3d-face.h
index 04e012b41..61c13432d 100644
--- a/src/box3d-face.h
+++ b/src/box3d-face.h
@@ -42,7 +42,7 @@ public:
void set_corners (NR::Point &A, NR::Point &B, NR::Point &C, NR::Point &D);
void set_face (NR::Point const A, NR::Point const C, Box3D::Axis const dir1, Box3D::Axis const dir2);
- void hook_path_to_3dbox();
+ void hook_path_to_3dbox(SPPath * existing_path = NULL);
void set_path_repr();
void set_curve();
gchar * axes_string();