]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed diagram NPE regressions caused by commit 5d2af6df 12/412/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 13 Apr 2017 16:13:06 +0000 (19:13 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 13 Apr 2017 16:13:06 +0000 (19:13 +0300)
commit477ce5a22d86916107b2c319f4d6cf84d639305a
tree57942ddd781a95801a6a09ff14b856f79052c445
parent62201fffbf97905cd7cce3b68458f519a64a26d3
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
bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DefinedElementHandler.java