diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2013-03-17 12:29:02 +0000 |
|---|---|---|
| committer | Jabiertxo Arraiza Zenotz <jtx@jtx.marker.es> | 2013-03-17 12:29:02 +0000 |
| commit | 732618cd7d6159ee47cc0dd8b86cf07790e3e724 (patch) | |
| tree | 5e7ce92337d91b24e07f9c5f8992f1bc6478c692 /src/snap.cpp | |
| parent | Working in widgets (diff) | |
| download | inkscape-732618cd7d6159ee47cc0dd8b86cf07790e3e724.tar.gz inkscape-732618cd7d6159ee47cc0dd8b86cf07790e3e724.zip | |
Working with widjets
(bzr r11950.1.56)
Diffstat (limited to 'src/snap.cpp')
| -rw-r--r-- | src/snap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/snap.cpp b/src/snap.cpp index 15f24ef53..695424194 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -500,6 +500,7 @@ Inkscape::SnappedPoint SnapManager::_snapTransformed( /* The current best metric for the best transformation; lower is better, Geom::infinity() ** means that we haven't snapped anything. */ + Geom::Point best_scale_metric(Geom::infinity(), Geom::infinity()); Inkscape::SnappedPoint best_snapped_point; g_assert(best_snapped_point.getAlwaysSnap() == false); // Check initialization of snapped point g_assert(best_snapped_point.getAtIntersection() == false); |
