]> gerrit.simantics Code Review - simantics/sysdyn.git/commitdiff
Fixed non-compiling TGRefactoring after change r27196 in #4203.
authorlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 25 Mar 2013 19:53:42 +0000 (19:53 +0000)
committerlehtonen <lehtonen@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Mon, 25 Mar 2013 19:53:42 +0000 (19:53 +0000)
refs #4203

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27202 ac1ea38d-2e2b-0410-8846-a27921b304fc

org.simantics.sysdyn/src/org/simantics/sysdyn/refactoring/TGRefactoring.java

index 0c9a0e53ffaf87c76a0add5cb2230a1bc9d0a528..3e19f43c65dad4d33dc37511e102ec8f7e5407c3 100644 (file)
@@ -45,7 +45,7 @@ public class TGRefactoring {
         boolean fixed = GraphRefactoringUtils.fixIncorrectRoot(tg1.identities);\r
         IdentityStore idStore = TransferableGraphConversion.extractIdentities(tg1);\r
         TIntHashSet parentsAffected = new TIntHashSet(); \r
-        GraphRefactoringUtils.refactor(idStore, spec, parentsAffected);\r
+        GraphRefactoringUtils.refactor(tg1, idStore, spec, parentsAffected);\r
         tg1.resourceCount = idStore.getResourceCount();\r
         tg1.identities = idStore.toArray();\r
 //        GraphRefactoringUtils.compactify(tg1, parentsAffected);\r