diff --git a/src/sp-conn-end.cpp b/src/sp-conn-end.cpp
index af8692358ea2877de0ce25b763c74ba699639e00..536addf4e6b860ccbff0afe6fa585fd02a547ae4 100644 (file)
--- a/src/sp-conn-end.cpp
+++ b/src/sp-conn-end.cpp
// that have internal representations that are updated later
// by the sp_*_update functions, e.g., text.
sp_document_ensure_up_to_date(path->document);
-
+
// Get the new route around obstacles.
path->connEndPair.reroutePath();
NR::Rect otherpt_rect = NR::Rect(other_endpt, other_endpt);
NR::Rect h2bbox_icoordsys[2] = { otherpt_rect, otherpt_rect };
h2bbox_icoordsys[ind] = h2attItem[ind]->invokeBbox(NR::identity());
-
+
h2i2anc = i2anc_affine(h2attItem[ind], ancestor);
h2endPt_icoordsys[ind] = h2bbox_icoordsys[ind].midpoint();
-
+
h2endPt_icoordsys[!ind] = other_endpt;
// For the attached object, change the corresponding point to be
h2endPt_icoordsys[ind] = calc_bbox_conn_pt(h2bbox_icoordsys[ind],
( last_seg_pt / h2i2anc ));
h2endPt_pcoordsys[ind] = h2endPt_icoordsys[ind] * h2i2anc / path2anc;
-
+
// Leave the other where it is.
h2endPt_pcoordsys[!ind] = other_endpt;
-
+
change_endpts(path->curve, h2endPt_pcoordsys);
}
if (updatePathRepr) {
void
SPConnEnd::setAttacherHref(gchar const *value)
-{
+{
if ( value && href && ( strcmp(value, href) == 0 ) ) {
/* No change, do nothing. */
} else {