[commit] r1583 - trunk/GME/Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Oct 4 14:15:48 CDT 2011


Author: ksmyth
Date: Tue Oct  4 14:15:45 2011
New Revision: 1583

Log:
FIXME: ObjectEvent error code should be checked

Modified:
   trunk/GME/Mga/MgaFCO.cpp

Modified: trunk/GME/Mga/MgaFCO.cpp
==============================================================================
--- trunk/GME/Mga/MgaFCO.cpp	Tue Oct  4 14:15:32 2011	(r1582)
+++ trunk/GME/Mga/MgaFCO.cpp	Tue Oct  4 14:15:45 2011	(r1583)
@@ -1088,6 +1088,7 @@
 				if(t->handler && (mmask = (t->eventmask & chmask)) != 0) {
 					COMTHROW(mgaproject->pushterr(*t));
 					if(t->handler->ObjectEvent(obj, mmask, ud) != S_OK) {
+						// FIXME: allow addons to return constraint error, don't silently swallow error
 						ASSERT(("Notification failed", false));
 					}
 					COMTHROW(mgaproject->popterr());


More information about the gme-commit mailing list