[GME-commit] GMESRC/GME/Mga MgaComplexOps.cpp,1.17,1.18

gme-commit at list.isis.vanderbilt.edu gme-commit at list.isis.vanderbilt.edu
Mon May 8 17:27:59 CDT 2006


Update of /project/gme-repository/GMESRC/GME/Mga
In directory escher:/tmp/cvs-serv10879

Modified Files:
	MgaComplexOps.cpp 
Log Message:
Set copying fixed, if not all members are selected along with the set.
Previously exception prevented doing this.


CVS User: Zoltan Molnar, ISIS (zolmol)

Index: MgaComplexOps.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Mga/MgaComplexOps.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** MgaComplexOps.cpp	1 May 2006 17:20:12 -0000	1.17
--- MgaComplexOps.cpp	8 May 2006 16:27:57 -0000	1.18
***************
*** 481,484 ****
--- 481,489 ----
  						self[ll->reconnect] = newr;
  					}
+ 					else if( n == DTID_SETNODE) // if setnode not found while copying a set, 
+ 					{   // delete the membership entry, thus allow a set to be copied without its members
+ 						// previously Sets could not be copied&pasted only along with their members
+ 						removemember().DoWithDeriveds(self);
+ 					}
  			  }
  			  else containedexternal = true;



More information about the GME-commit mailing list