Skip to content
Snippets Groups Projects
Commit add2cea8 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Fixing bug in load scene from file / create scene method

parent 3a783705
Branches
Tags
No related merge requests found
...@@ -3772,6 +3772,9 @@ std::string CVACoreImpl::CreateScene( const CVAStruct& oParams, const std::strin ...@@ -3772,6 +3772,9 @@ std::string CVACoreImpl::CreateScene( const CVAStruct& oParams, const std::strin
std::string sDestFilename = correctPath( m_oCoreConfig.mMacros.SubstituteMacros( sFilePath ) ); std::string sDestFilename = correctPath( m_oCoreConfig.mMacros.SubstituteMacros( sFilePath ) );
for( std::vector<CVAAudioRendererDesc>::iterator it = m_voRenderers.begin(); it != m_voRenderers.end(); ++it ) for( std::vector<CVAAudioRendererDesc>::iterator it = m_voRenderers.begin(); it != m_voRenderers.end(); ++it )
it->pInstance->LoadScene( sDestFilename ); it->pInstance->LoadScene( sDestFilename );
// @todo: create a scene manager and return a proper scene identifier
return sDestFilename;
} }
else else
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment