diff options
| author | Marc Jeanmougin <marcjeanmougin@free.fr> | 2017-10-05 09:01:39 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2017-10-05 09:01:39 +0000 |
| commit | 577a34f67d1d3bb523c362373efbbe7d00c1afab (patch) | |
| tree | ba088c3888a7f1b3809d2e5c40f2dba0f6dc8fa9 /src/knot-holder-entity.cpp | |
| parent | Merge branch 'interp_att_ext' of gitlab.com:Moini/inkscape (diff) | |
| parent | Rename object-edit.cpp to what it really is (diff) | |
| download | inkscape-577a34f67d1d3bb523c362373efbbe7d00c1afab.tar.gz inkscape-577a34f67d1d3bb523c362373efbbe7d00c1afab.zip | |
Merge branch 'edit-clip-object' of gitlab.com:stfacc/inkscape
Diffstat (limited to 'src/knot-holder-entity.cpp')
| -rw-r--r-- | src/knot-holder-entity.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/knot-holder-entity.cpp b/src/knot-holder-entity.cpp index 8add35d46..bb7ef6eb3 100644 --- a/src/knot-holder-entity.cpp +++ b/src/knot-holder-entity.cpp @@ -84,7 +84,7 @@ KnotHolderEntity::update_knot() { Geom::Point knot_pos(knot_get()); if (knot_pos.isFinite()) { - Geom::Point dp(knot_pos * item->i2dt_affine()); + Geom::Point dp(knot_pos * parent_holder->getEditTranform() * item->i2dt_affine()); _moved_connection.block(); knot->setPosition(dp, SP_KNOT_STATE_NORMAL); @@ -102,7 +102,7 @@ KnotHolderEntity::snap_knot_position(Geom::Point const &p, guint state) return p; } - Geom::Affine const i2dt (item->i2dt_affine()); + Geom::Affine const i2dt (parent_holder->getEditTranform() * item->i2dt_affine()); Geom::Point s = p * i2dt; SnapManager &m = desktop->namedview->snap_manager; @@ -120,7 +120,7 @@ KnotHolderEntity::snap_knot_position_constrained(Geom::Point const &p, Inkscape: return p; } - Geom::Affine const i2d (item->i2dt_affine()); + Geom::Affine const i2d (parent_holder->getEditTranform() * item->i2dt_affine()); Geom::Point s = p * i2d; SnapManager &m = desktop->namedview->snap_manager; |
