]> gerrit.simantics Code Review - simantics/district.git/commit
Fixed regressions in box selection and element color function validation 46/2346/1
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:43:22 +0000 (13:43 +0000)
commit04d29917ceb4e34d2d9fc32ac4c7c8bdd2f4a732
tree1bfeb5801266ef503d7b0178987fb79cea3c181e
parent03368dc8b2b09ef54172c8c9cc3724dc48f0d558
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
(cherry picked from commit a4105d9cb79a428fbe3a4aa918fc6d1527f1988a)
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