diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2011-06-22 10:07:58 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2011-06-22 10:07:58 +0000 |
| commit | 8640e3a8755e772cc7982a9d6f8a47c6ee0dae00 (patch) | |
| tree | 2f9cdb1b9e13dc49a810fdfca4eb575610a948cb /src/knot-holder-entity.cpp | |
| parent | Revision 10333 introduced dependency on gtk version 2.24 which is currently n... (diff) | |
| download | inkscape-8640e3a8755e772cc7982a9d6f8a47c6ee0dae00.tar.gz inkscape-8640e3a8755e772cc7982a9d6f8a47c6ee0dae00.zip | |
Warning cleanup.
(bzr r10339)
Diffstat (limited to 'src/knot-holder-entity.cpp')
| -rw-r--r-- | src/knot-holder-entity.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/knot-holder-entity.cpp b/src/knot-holder-entity.cpp index 7da3d0c0e..128ca281e 100644 --- a/src/knot-holder-entity.cpp +++ b/src/knot-holder-entity.cpp @@ -107,7 +107,6 @@ KnotHolderEntity::snap_knot_position_constrained(Geom::Point const &p, Inkscape: SnapManager &m = desktop->namedview->snap_manager; m.setup(desktop, true, item); - Inkscape::Preferences *prefs = Inkscape::Preferences::get(); // constrainedSnap() will first project the point p onto the constraint line and then try to snap along that line. // This way the constraint is already enforced, no need to worry about that later on Inkscape::Snapper::SnapConstraint transformed_constraint = Inkscape::Snapper::SnapConstraint(constraint.getPoint() * i2d, (constraint.getPoint() + constraint.getDirection()) * i2d - constraint.getPoint() * i2d); |
