District network scene graph node/edge bounds computation is severely broken
The main problem is that having different kinds of "boundless" nodes under DistrictNetworkVertexNode
and DistrictNetworkEdgeNode
breaks the default recursive SG node bounds computation since by default G2DNode.getBoundsInLocal
doesn't ignore null
bounds which causes the implementation to return null
for the bounds of the district network SG parent nodes as well. This in turn causes RTreeNode to decompose the diagram scene graph incorrectly which causes picking to break as in the district viewer case it relies on RTree working for performance reasons.
This needs to be fixed for release/1.48.0.1
, release/1.52.[01]
and master
.
The way to fix it for 1.48.0.1 is to just do it fully on the district side. For master
we can apply further fixes to the platform, like making the R-Tree based on doubles, not floats for improved precision.