diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-04-24 12:53:30 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-04-24 12:53:30 +0000 |
| commit | 20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3 (patch) | |
| tree | ce0ca88db9385121a88ce92d2b407ebb7e9734c7 /src/graphlayout.cpp | |
| parent | Clean up of style code, removal of SPFontStyle. Step 2. (diff) | |
| download | inkscape-20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3.tar.gz inkscape-20452bbd40fe1d93b2093cb5dea8e4cb8ae967d3.zip | |
Clean up of style code: refactor marker properties. Step 3.
(bzr r13301)
Diffstat (limited to 'src/graphlayout.cpp')
| -rw-r--r-- | src/graphlayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphlayout.cpp b/src/graphlayout.cpp index 7e10ccca1..18159cb41 100644 --- a/src/graphlayout.cpp +++ b/src/graphlayout.cpp @@ -195,8 +195,8 @@ void graphlayout(GSList const *const items) { unsigned v=v_pair->second; //cout << "Edge: (" << u <<","<<v<<")"<<endl; es.push_back(make_pair(u,v)); - if(conn->style->marker[SP_MARKER_LOC_END].set) { - if(directed && strcmp(conn->style->marker[SP_MARKER_LOC_END].value,"none")) { + if(conn->style->marker_end.set) { + if(directed && strcmp(conn->style->marker_end.value,"none")) { scy.push_back(new SimpleConstraint(v, u, (ideal_connector_length * directed_edge_height_modifier))); } |
