]> gerrit.simantics Code Review - simantics/platform.git/commit
Don't create degenerated transient RouteLines to RouteGraph 15/4015/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 11 Mar 2020 13:35:51 +0000 (15:35 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Wed, 18 Mar 2020 08:33:35 +0000 (08:33 +0000)
commit452d45fd64c45cbfadc15e8edc11c0cda4e101e0
tree17125f32e8898c48c8c16af680be579d6c80aa78
parentd788b5fea66a6dffe1649de57bc83705e6027bc0
Don't create degenerated transient RouteLines to RouteGraph

This change addresses the trivial cases. If multiple bends are required
we still get degenerated lines if the terminal is at the corner of the
bounds.

gitlab #495

Change-Id: Iac5d139ba805955c38d4b4e4906eda4795871a66
(cherry picked from commit 1aedad590d55facc132e458a578064300bac833c)
bundles/org.simantics.diagram.connection/src/org/simantics/diagram/connection/RouteGraph.java
bundles/org.simantics.diagram.connection/src/org/simantics/diagram/connection/RouteLine.java
bundles/org.simantics.diagram.connection/src/org/simantics/diagram/connection/RouteTerminal.java