]> gerrit.simantics Code Review - simantics/district.git/commitdiff
Interim fix for orientation/location of static info on network branches 54/3654/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 29 Nov 2019 21:41:42 +0000 (23:41 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 29 Nov 2019 21:47:28 +0000 (21:47 +0000)
Previously the profile style implementation would reset the edge info
direction to match the simplified edge data whenever the style result
was recalculated from the database.

Now the style just tells the static info node the
DistrictNetworkEdgeNode it is supposed to visualize and the info node
will calculate the info pos/orientation based on that during render.

This is an interim fix because the style implementation will be removed
once this visualization is moved into the district visualization toolbox
from the diagram profile implementation. At that point the visualization
also needs to be optimized to only show the information for the edges
inside the current viewbox.

gitlab #47

Change-Id: I8b8ea78378df5749cf59405d7f9fae8d9848698e
(cherry picked from commit 7f3b0d5297006df708f9169e473448ec6f85e211)


No differences found