]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Undo changes.
authornds <nds@opencascade.com>
Wed, 14 Nov 2007 13:10:21 +0000 (13:10 +0000)
committernds <nds@opencascade.com>
Wed, 14 Nov 2007 13:10:21 +0000 (13:10 +0000)
src/SUIT/SUIT_TreeSync.h

index 7bd6807bbd8ae8714d419892d71e1c3f76e5bbd4..ccceeaa0cafe2daa2a8a53e5ada6d575a1e10629 100644 (file)
@@ -151,14 +151,14 @@ TrgItem synchronize( const SrcItem& r1, const TrgItem& r2, const TreeData& td )
   }
   else {
     TrgItem new_r2 = td.nullTrg();
-    /*if ( r1 != td.nullSrc() ) {
+    if ( r1 != td.nullSrc() ) {
       // add new item (recursively)
       new_r2 = createSubTree( r1, td.parent( r2 ), r2, td );
     }
     if ( r2 != td.nullTrg() ) {
       // delete old one (if it is not null)
       td.deleteItemWithChildren( r2 );
-    }*/
+    }
     return new_r2;
   }
 }