[commit] r1078 - trunk/SDK/BON/Common
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Wed Nov 10 15:25:37 CST 2010
Author: ksmyth
Date: Wed Nov 10 15:25:37 2010
New Revision: 1078
Log:
Fix GME-312: refport cache was not properly invalidated when a port was added
Modified:
trunk/SDK/BON/Common/BONImpl.cpp
trunk/SDK/BON/Common/GMEInterpreter.props
Modified: trunk/SDK/BON/Common/BONImpl.cpp
==============================================================================
--- trunk/SDK/BON/Common/BONImpl.cpp Wed Nov 10 15:18:47 2010 (r1077)
+++ trunk/SDK/BON/Common/BONImpl.cpp Wed Nov 10 15:25:37 2010 (r1078)
@@ -3885,6 +3885,15 @@
void FCOImpl::onObjectCreated()
{
FCO( this->getType() );
+ if (getParentModelI())
+ {
+ ReferenceSet references = getParentModelI()->getReferencesI();
+ for ( ReferenceSet::iterator it = references.begin() ; it != references.end() ; ++it )
+ {
+ (**it).m_bAllChildPorts = false;
+ }
+ }
+
try {
std::set<ReferencePort> rps = getReferencePorts();
for( std::set<ReferencePort>::const_iterator it = rps.begin(); it != rps.end(); ++it)
Modified: trunk/SDK/BON/Common/GMEInterpreter.props
==============================================================================
--- trunk/SDK/BON/Common/GMEInterpreter.props Wed Nov 10 15:18:47 2010 (r1077)
+++ trunk/SDK/BON/Common/GMEInterpreter.props Wed Nov 10 15:25:37 2010 (r1078)
@@ -5,12 +5,6 @@
<PropertyGroup />
<ItemDefinitionGroup>
<Midl>
- <PreprocessorDefinitions>
- </PreprocessorDefinitions>
- </Midl>
- </ItemDefinitionGroup>
- <ItemDefinitionGroup>
- <Midl>
<AdditionalIncludeDirectories>.;$(GME_ROOT)\Gme\$(Configuration);$(GME_ROOT)\bin;$(GME_ROOT)\Interfaces;$(GME_ROOT)\Gme\Interfaces;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<HeaderFileName>%(Filename).h</HeaderFileName>
<ValidateAllParameters>true</ValidateAllParameters>
More information about the gme-commit
mailing list