diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-01-06 14:10:21 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-01-06 14:10:21 +0000 |
| commit | e29f55bd4b16a4e8b0156f8034f40100a2d72851 (patch) | |
| tree | 8911530188922044649ed022e3b2b63796b66c12 /src | |
| parent | noop (cleanup): remove commented line in widgets/toolbox.cpp obviously left o... (diff) | |
| download | inkscape-e29f55bd4b16a4e8b0156f8034f40100a2d72851.tar.gz inkscape-e29f55bd4b16a4e8b0156f8034f40100a2d72851.zip | |
Also transform stroke, patterns, and gradients of 3D box sides
(bzr r4406)
Diffstat (limited to 'src')
| -rw-r--r-- | src/box3d.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/box3d.cpp b/src/box3d.cpp index 0add188e7..3fe9787e3 100644 --- a/src/box3d.cpp +++ b/src/box3d.cpp @@ -370,7 +370,7 @@ box3d_set_transform(SPItem *item, NR::Matrix const &xform) transf_persp = persp; } - /* only transform the perspective once, even it it has several selected boxes */ + /* only transform the perspective once, even if it has several selected boxes */ if(!persp3d_was_transformed (transf_persp)) { /* concatenate the affine transformation with the perspective mapping; this function also triggers repr updates of boxes and the perspective itself */ @@ -384,8 +384,6 @@ box3d_set_transform(SPItem *item, NR::Matrix const &xform) persp3d_unset_transforms(transf_persp); } - /*** - // FIXME: We somehow have to apply the transformation to strokes, patterns, and gradients. How? NR::Matrix ret(NR::transform(xform)); gdouble const sw = hypot(ret[0], ret[1]); gdouble const sh = hypot(ret[2], ret[3]); @@ -406,7 +404,6 @@ box3d_set_transform(SPItem *item, NR::Matrix const &xform) // Adjust LPE sp_item_adjust_livepatheffect(item, xform); } - ***/ return NR::identity(); } |
