[commit] r1960 - trunk/GME/Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Sat Jul 7 16:40:10 CDT 2012


Author: ksmyth
Date: Sat Jul  7 16:40:09 2012
New Revision: 1960

Log:
Fix bug with Folder Registry: also return meta-defined regnodes

Modified:
   trunk/GME/Mga/MgaAttribute.cpp
   trunk/GME/Mga/MgaFCO.cpp

Modified: trunk/GME/Mga/MgaAttribute.cpp
==============================================================================
--- trunk/GME/Mga/MgaAttribute.cpp	Sat Jul  7 16:39:59 2012	(r1959)
+++ trunk/GME/Mga/MgaAttribute.cpp	Sat Jul  7 16:40:09 2012	(r1960)
@@ -718,8 +718,6 @@
 			CHECK_OUTPTRPAR(pVal);
 
 			CoreObj s = fco->self;
-			if(!s.IsFCO())
-				virtuals = VARIANT_FALSE;
 			CREATEEXCOLLECTION_FOR(MgaRegNode,q);
 			std::set<std::wstring> paths;
 			WalkKeyValuesInher([&](map_type& map, map_type::iterator& it, int inher, bool& continue_) {

Modified: trunk/GME/Mga/MgaFCO.cpp
==============================================================================
--- trunk/GME/Mga/MgaFCO.cpp	Sat Jul  7 16:39:59 2012	(r1959)
+++ trunk/GME/Mga/MgaFCO.cpp	Sat Jul  7 16:40:09 2012	(r1960)
@@ -809,9 +809,6 @@
 		CheckRead();
 		CHECK_OUTPTRPAR(pVal);
 
-		if(!self.IsFCO())
-			virtuals = VARIANT_FALSE;
-
 		CComPtr<CMgaRegNode> regnode;
 		CreateComObject(regnode);
 


More information about the gme-commit mailing list