diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-03-29 22:17:45 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-03-29 22:17:45 +0000 |
| commit | 309a00bf6b8a0a7e74553f33b563bf03163af968 (patch) | |
| tree | 62913a1ac7cfccb52398b0108497e3c5252e2c15 /src/box3d.cpp | |
| parent | nr_matrix_inverse is no more, removed test from nr-matrix-test.h (diff) | |
| download | inkscape-309a00bf6b8a0a7e74553f33b563bf03163af968.tar.gz inkscape-309a00bf6b8a0a7e74553f33b563bf03163af968.zip | |
Fix passing wrong pointer type when using the tweak tool on 3D boxes
(bzr r5232)
Diffstat (limited to 'src/box3d.cpp')
| -rw-r--r-- | src/box3d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/box3d.cpp b/src/box3d.cpp index f57452101..d7ec7ef07 100644 --- a/src/box3d.cpp +++ b/src/box3d.cpp @@ -1361,7 +1361,7 @@ box3d_switch_perspectives(SPBox3D *box, Persp3D *old_persp, Persp3D *new_persp, /* Converts the 3D box to an ordinary SPGroup, adds it to the XML tree at the same position as the original box and deletes the latter */ -Inkscape::XML::Node * +SPGroup * box3d_convert_to_group(SPBox3D *box) { SPDocument *doc = SP_OBJECT_DOCUMENT(box); Inkscape::XML::Document *xml_doc = sp_document_repr_doc(doc); @@ -1403,7 +1403,7 @@ box3d_convert_to_group(SPBox3D *box) { grepr->setAttribute("id", id); - return grepr; + return SP_GROUP(doc->getObjectByRepr(grepr)); } static inline void |
