Permalink
Browse files

Merge pull request #35 from dougbinks/master

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 4024b58788426b17ab243f5caa3c9a7a7ba9a270
Showing with 8 additions and 0 deletions.
  1. +8 −0 Aurora/RuntimeObjectSystem/RuntimeObjectSystem.cpp
@@ -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 )
{

0 comments on commit 4024b58

Please sign in to comment.