]> gerrit.simantics Code Review - simantics/district.git/commit
Fixed regressions in box selection and element color function validation 45/2345/2
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sun, 21 Oct 2018 13:39:21 +0000 (16:39 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sun, 21 Oct 2018 13:42:26 +0000 (16:42 +0300)
commita4105d9cb79a428fbe3a4aa918fc6d1527f1988a
treeaa2acce4fbb8f08d3147898cc8f0b0f1dd5bc49f
parent4b0e2c52e8124855ae4a4e6c71ddf7ae55df7db5
Fixed regressions in box selection and element color function validation

* Edge element box selection didn't work because the contained picking
  logic was not implemented properly in the edge element class.
* Element coloring brightness function validation did not set "graph"
  key for SCLContext which caused compilation to fail occasionally which
  broke the function evaluation.
* Fixed vertex selection visualization to stroke the edge of the normal
  rendered rectangular shape which is much cleaner than the old default
  selection visualization that was geometrically out of place for some
  reason.

gitlab #2

Change-Id: Ib1f5e03a1eeb6101ffe0f527c5a54ece97e1ea8e
org.simantics.district.network.ui/src/org/simantics/district/network/ui/adapters/DistrictNetworkEdgeElement.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/function/Functions.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkVertexNode.java
org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/NetworkDrawingNode.java