From 0ee9c617f479c3b804a096f26c316ed282486aa6 Mon Sep 17 00:00:00 2001
From: Ludovic Apvrille <ludovic.apvrille@telecom-paristech.fr>
Date: Mon, 22 Sep 2014 13:18:09 +0000
Subject: [PATCH] Update on TMLModeling: reverting after Andrea modification on
 task mapping

---
 src/ui/GTMLModeling.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ui/GTMLModeling.java b/src/ui/GTMLModeling.java
index 901aa01051..2c13155af9 100755
--- a/src/ui/GTMLModeling.java
+++ b/src/ui/GTMLModeling.java
@@ -2676,7 +2676,7 @@ public class GTMLModeling  {
 		
 		while(iterator.hasNext()) {
 			tgc = (TGComponent)(iterator.next());
-			if( tgc instanceof TMLArchiCPNode )	{
+			//if( tgc instanceof TMLArchiCPNode )	{
 				node = archi.getHwNodeByName( tgc.getName() );
 				if( ( node != null ) && ( node instanceof HwExecutionNode ) ) {	//why checking this instanceof?
 					artifacts = ( (TMLArchiNode)(tgc) ).getAllTMLArchiArtifacts();
@@ -2698,7 +2698,7 @@ public class GTMLModeling  {
 				} 
 				
 				// Other nodes (memory, bridge, bus)
-			}
+			//}
 			TraceManager.addDev( "IN MAKE MAPPING: " + map.getMappedTasks().toString());
 			
 			if ((tgc instanceof TMLArchiBUSNode) || (tgc instanceof TMLArchiBridgeNode) || (tgc instanceof TMLArchiMemoryNode)|| (tgc instanceof TMLArchiDMANode)) {
-- 
GitLab