From e1278f8d1a67c682e0750b3b6ae7636957bb7382 Mon Sep 17 00:00:00 2001 From: Gellule Xg Date: Thu, 30 Jun 2011 17:07:08 -1000 Subject: 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) --- src/conn-avoid-ref.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/conn-avoid-ref.cpp') 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 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) -- cgit v1.2.3