From: Tuukka Lehtonen Date: Thu, 13 Apr 2017 16:13:06 +0000 (+0300) Subject: Fixed diagram NPE regressions caused by commit 5d2af6df X-Git-Tag: v1.28.0~27 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=13798386471e68e750568edd823a9c3f1bda7378;hp=13798386471e68e750568edd823a9c3f1bda7378;p=simantics%2Fplatform.git Fixed diagram NPE regressions caused by commit 5d2af6df The code was not taking into account that IG2DNode.getBoundsInLocal can return null. refs #7109 Change-Id: I9f41b9f2119ba8d273daf97b1b1e90a03d91fd22 (cherry picked from commit 477ce5a22d86916107b2c319f4d6cf84d639305a) ---