From: Tuukka Lehtonen Date: Thu, 12 Apr 2018 21:43:36 +0000 (+0300) Subject: Fixed ClusterTable cluster hash/importance map book-keeping problem X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;ds=sidebyside;h=63a760551d224e6903ffcfadcfbcbee5e8d7665f;hp=63a760551d224e6903ffcfadcfbcbee5e8d7665f;p=simantics%2Fplatform.git Fixed ClusterTable cluster hash/importance map book-keeping problem The main problem was that importance values should have been started from 1 and 0 is considered an invalid importance value. This prevents ClusterTable.replaceCluster from making mistakes in importanceMap. refs #7724 Change-Id: Ie15a2d11bef2b8bdbcee2f5baba47633faa97826 (cherry picked from commit f59872e129c2d1b84fe322ae120fbeac22a94f88) ---