diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-03-09 14:49:33 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-03-09 14:49:33 +0000 |
| commit | a5260f225beb034d155643376a6985ddb35817f9 (patch) | |
| tree | 0c7157445252255d628e66c0c01fc7077d360da0 /src/box3d-context.cpp | |
| parent | skeletal-stroke: offset parameters are back again... optionaly proportional t... (diff) | |
| download | inkscape-a5260f225beb034d155643376a6985ddb35817f9.tar.gz inkscape-a5260f225beb034d155643376a6985ddb35817f9.zip | |
Move 3D box code out of sp-canvas.cpp
(bzr r5008)
Diffstat (limited to 'src/box3d-context.cpp')
| -rw-r--r-- | src/box3d-context.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/box3d-context.cpp b/src/box3d-context.cpp index e03f7d184..9ee920c1b 100644 --- a/src/box3d-context.cpp +++ b/src/box3d-context.cpp @@ -670,6 +670,14 @@ static void sp_box3d_finish(Box3DContext *bc) bc->extruded = false; } +void sp_box3d_context_update_lines(SPEventContext *ec) { + /* update perspective lines if we are in the 3D box tool (so that infinite ones are shown correctly) */ + if (SP_IS_BOX3D_CONTEXT (ec)) { + Box3DContext *bc = SP_BOX3D_CONTEXT (ec); + bc->_vpdrag->updateLines(); + } +} + /* Local Variables: mode:c++ |
