From: lehtonen Date: Mon, 25 Mar 2013 19:53:42 +0000 (+0000) Subject: Fixed non-compiling TGRefactoring after change r27196 in #4203. X-Git-Tag: simantics-1.10~12 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=579f05fe2fcc56b0a7651b0beae6bdad92f1fd59;p=simantics%2Fsysdyn.git Fixed non-compiling TGRefactoring after change r27196 in #4203. refs #4203 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@27202 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/refactoring/TGRefactoring.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/refactoring/TGRefactoring.java index 0c9a0e53..3e19f43c 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/refactoring/TGRefactoring.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/refactoring/TGRefactoring.java @@ -45,7 +45,7 @@ public class TGRefactoring { boolean fixed = GraphRefactoringUtils.fixIncorrectRoot(tg1.identities); IdentityStore idStore = TransferableGraphConversion.extractIdentities(tg1); TIntHashSet parentsAffected = new TIntHashSet(); - GraphRefactoringUtils.refactor(idStore, spec, parentsAffected); + GraphRefactoringUtils.refactor(tg1, idStore, spec, parentsAffected); tg1.resourceCount = idStore.getResourceCount(); tg1.identities = idStore.toArray(); // GraphRefactoringUtils.compactify(tg1, parentsAffected);