]> gerrit.simantics Code Review - simantics/platform.git/commit
Better fix for ClusterTable maps going out of sync 18/1718/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 13 Apr 2018 21:31:15 +0000 (00:31 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 13 Apr 2018 21:31:15 +0000 (00:31 +0300)
commit980d21d8a26dddd2e57dbffdc8f320a76aa0973e
treec1548ddfc8ba7fa19987824603803b71cd9b2378
parentf59872e129c2d1b84fe322ae120fbeac22a94f88
Better fix for ClusterTable maps going out of sync

ClusterSmall.toBig was not copying importance over to the constructed
ClusterBig causing importanceMap to go out of sync on the first call to
ClusterSmall.toBig.

refs #7724

Change-Id: I6e56b7f94962de3ec243a9d50775e649f930d0d2
bundles/org.simantics.db.procore/src/fi/vtt/simantics/procore/internal/ClusterTable.java
bundles/org.simantics.db.procore/src/org/simantics/db/procore/cluster/ClusterBig.java
bundles/org.simantics.db.procore/src/org/simantics/db/procore/cluster/ClusterSmall.java