From: Tuukka Lehtonen Date: Wed, 20 Nov 2019 14:33:29 +0000 (+0200) Subject: G2DParentNode handles "undefined" child bounds separately X-Git-Tag: v1.43.0~136^2~31 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=452670c58399d8054872655841ebb6e66d9c6b6e;hp=452670c58399d8054872655841ebb6e66d9c6b6e G2DParentNode handles "undefined" child bounds separately Previously nodes could only return null to say "I have no bounds". Now it is possible to return GeometryUtils.undefinedBounds() to say "ignore my bounds" to G2DParentNode. Also allow customization of the node class used by ElementPainter to mark selections under "element nodes" through a new configuration class ElementPainterConfiguration. This allows e.g. district to use its own node for this purpose to optimize the scene graph and customize the bounds it returns. gitlab #419 Change-Id: I210fd26be5d269847277616b9d5c52ef4f930dd7 (cherry picked from commit ad29e24f50e336add4c28df14312b3134ab93427) ---