[commit] r2001 - trunk/GME/Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Aug 13 15:07:51 CDT 2012


Author: ksmyth
Date: Mon Aug 13 15:07:51 2012
New Revision: 2001

Log:
Fix bug in AbortTransaction where AddOns would get notified of aborted changes (usually resulting in error "Meta incompatibility")

Modified:
   trunk/GME/Mga/MgaProject.cpp

Modified: trunk/GME/Mga/MgaProject.cpp
==============================================================================
--- trunk/GME/Mga/MgaProject.cpp	Mon Aug 13 13:14:25 2012	(r2000)
+++ trunk/GME/Mga/MgaProject.cpp	Mon Aug 13 15:07:51 2012	(r2001)
@@ -1408,6 +1408,10 @@
 			notifyobjs.front()->objforgetnotify();
 			notifyobjs.pop();
 		}
+		while(!temporalobjs.empty()) {
+			temporalobjs.front()->objforgetchange();
+			temporalobjs.pop();
+		}
 		read_only = true;
 		{
 			CComPtr<IMgaTerritory> t;


More information about the gme-commit mailing list