[commit] r2149 - trunk/GME/ConstraintManager

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Tue Feb 12 13:47:10 CST 2013


Author: ksmyth
Date: Tue Feb 12 13:47:10 2013
New Revision: 2149

Log:
Fix ExpressionChecker: was subscribed to the wrong events

Modified:
   trunk/GME/ConstraintManager/ExpressionChecker.cpp

Modified: trunk/GME/ConstraintManager/ExpressionChecker.cpp
==============================================================================
--- trunk/GME/ConstraintManager/ExpressionChecker.cpp	Tue Feb 12 13:46:47 2013	(r2148)
+++ trunk/GME/ConstraintManager/ExpressionChecker.cpp	Tue Feb 12 13:47:10 2013	(r2149)
@@ -178,7 +178,7 @@
 	m_spAddOn = NULL;
 	COMTRY {
 		COMTHROW( m_spProject->CreateAddOn( m_spEventSink, &m_spAddOn ) );
-		COMTHROW( m_spAddOn->put_EventMask( ~(OBJEVENT_ATTR | OBJEVENT_CONNECTED) ) );
+		COMTHROW(m_spAddOn->put_EventMask(OBJEVENT_ATTR | OBJEVENT_CONNECTED));
 
 		m_Facade.Initialize( p );
 	} COMCATCH( ASSERT( 0 ); )


More information about the gme-commit mailing list