From 4552a2116a6e13d04d4587f19dbcc968656c5dd0 Mon Sep 17 00:00:00 2001 From: Franck Wajsburt Date: Thu, 2 Oct 2003 12:40:26 +0000 Subject: [PATCH] driving connector names for lower levels of hierarchy --- alliance/src/rdsgds/src/gds_drive.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/alliance/src/rdsgds/src/gds_drive.c b/alliance/src/rdsgds/src/gds_drive.c index ec678eb3..714a0a37 100644 --- a/alliance/src/rdsgds/src/gds_drive.c +++ b/alliance/src/rdsgds/src/gds_drive.c @@ -318,6 +318,8 @@ short datatype = 0; int bool = FALSE; coord_t tab[6]; /* last one reserved for text */ + + /* A connectors is written using a specific layer from now on: * this implies a simple change of layer */ if ((IsRdsConExter(rect) || IsRdsRefCon (rect)) && !IsRdsVia(rect)) @@ -373,7 +375,8 @@ coord_t tab[6]; /* last one reserved for text */ we drive the text: nodes should be sufficients. Frederic Petrot: 10/04/96 */ /* sauve uniquement les noms du premier model (le pere) 18/04/2002 FW */ - if (FIRST_MODEL && rect->NAME != NULL) { + /* if (FIRST_MODEL && rect->NAME != NULL) { */ + if ((IsRdsConExter(rect) || IsRdsRefCon (rect)) && rect->NAME != NULL) { /* on a besoin de mettre des crochets autour des index de vecteur * 26/06/2002 FW */