]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed diagram NPE regressions caused by commit 5d2af6df 13/413/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:31:20 +0000 (19:31 +0300)
commit13798386471e68e750568edd823a9c3f1bda7378
treed1ab84c63a021e39209484dfe08643c77cee75f4
parenta27d3028cfb27d3f13ed99eae242592ab29ed5db
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)
bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DefinedElementHandler.java