]> gerrit.simantics Code Review - simantics/platform.git/commit
Fixed ComponentCopyAdvisor to account for L0.TypeWithIdentifier properly 01/1801/1 release/1.32.1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 24 May 2018 22:29:31 +0000 (01:29 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 25 May 2018 05:49:52 +0000 (05:49 +0000)
commit1a590731da6df8aeb5dd70abfe3a87dcd1445700
tree99240ad71ae206e921d1c425ba92b8bc4c27a4c0
parentd24b32a468b43891739c5a86d0d8fbcc69e9c41b
Fixed ComponentCopyAdvisor to account for L0.TypeWithIdentifier properly

The previous fix done for the same problem in Simantics redmine issue
7842 and commits
c912edf13bf5a91b2f6dc855f54d8728aa0a64f5,
803c42fd316859809eaeb3dc6a88b22cbf86b4b6 and
0cfc6a9b8b186ba432bc6758c089726b1471fd1f was simply wrong. Using
ModelingUtils.needsIdentifier is the most proper way to fix this.

gitlab #10

Change-Id: Id7cdc32a6596588154913fced742d751ce6ba864
(cherry picked from commit 290c3cfc8bf5a7b2cc6e8532f124512e0bf10517)
bundles/org.simantics.modeling/src/org/simantics/modeling/mapping/ComponentCopyAdvisor.java