]> gerrit.simantics Code Review - simantics/platform.git/commit
Fix CopyAdvisorUtil.copy2 to copy IsRelatedTo-statements left out before 59/4459/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 17 Sep 2020 11:45:47 +0000 (14:45 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 17 Sep 2020 11:45:47 +0000 (14:45 +0300)
commit99395a7780ef1626d3ae97183ef4ae717f32b215
treea240288be235070e717e0ac0216cfee4180acd4c
parent6c6f34dda4dfa90bc403e1c525a84e17c17c0cde
Fix CopyAdvisorUtil.copy2 to copy IsRelatedTo-statements left out before

This implementation works so that it copies any IsRelatedTo statements
where both the subject and object have been copied during the normal
(old) copy process. The statements are marked as pending during the copy
and post-processed after everything else has been copied.

gitlab #607

Change-Id: I9170a448c127e0c7de6eae4260db5799ad7644bb
bundles/org.simantics.diagram/src/org/simantics/diagram/synchronization/graph/CopyAdvisorUtil.java
bundles/org.simantics.modeling/src/org/simantics/modeling/mapping/ComponentCopyAdvisor.java