summaryrefslogtreecommitdiffstats
path: root/src/conn-avoid-ref.cpp
diff options
context:
space:
mode:
authorGellule Xg <gellule.xg@gmail.com>2011-07-01 03:07:08 +0000
committerGellule Xg <gellule.xg@gmail.com>2011-07-01 03:07:08 +0000
commite1278f8d1a67c682e0750b3b6ae7636957bb7382 (patch)
tree8b1326dcc961229738a46d3a76e62785ac94acb0 /src/conn-avoid-ref.cpp
parentImplement decent snapping to text (baseline & anchor), and provide a toggle b... (diff)
downloadinkscape-e1278f8d1a67c682e0750b3b6ae7636957bb7382.tar.gz
inkscape-e1278f8d1a67c682e0750b3b6ae7636957bb7382.zip
Give a chance to a shape to have an up to date curve before approximating it with points. Fixes connector bug #640985.
Fixed bugs: - https://launchpad.net/bugs/640985 (bzr r10393)
Diffstat (limited to 'src/conn-avoid-ref.cpp')
-rw-r--r--src/conn-avoid-ref.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp
index 4c6139672..fad11bb89 100644
--- a/src/conn-avoid-ref.cpp
+++ b/src/conn-avoid-ref.cpp
@@ -491,6 +491,7 @@ static std::vector<Geom::Point> approxItemWithPoints(SPItem const *item, const G
}
else if (SP_IS_SHAPE(item))
{
+ SP_SHAPE(item)->setShape();
SPCurve* item_curve = SP_SHAPE(item)->getCurve();
// make sure it has an associated curve
if (item_curve)