Skip to content

Commit

Permalink
Merge pull request #35 from dougbinks/master
Browse files Browse the repository at this point in the history
Bugfix - CompileAll would not work if auto compile was set to false befo...
  • Loading branch information
dougbinks committed Oct 19, 2013
2 parents ea08383 + 28a18c2 commit 4024b58
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Aurora/RuntimeObjectSystem/RuntimeObjectSystem.cpp
Expand Up @@ -176,6 +176,14 @@ void RuntimeObjectSystem::CompileAll( bool bForceRecompile )
// since this is a compile all we can clear any pending compiles
m_BuildFileList.clear();

// ensure we have an up to date list of files to commpile if autocompile is off
if( !m_bAutoCompile )
{
AUDynArray<IObjectConstructor*> constructors;
m_pObjectFactorySystem->GetAll(constructors);
SetupRuntimeFileTracking(constructors);
}

// add all files except headers
for( size_t i = 0; i < m_RuntimeFileList.size(); ++ i )
{
Expand Down

0 comments on commit 4024b58

Please sign in to comment.