Skip to content
Snippets Groups Projects
Commit d6f8b4e7 authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

minor fix to avoid failing checks if the cluster event wasn't bound

parent 4beca149
No related branches found
No related tags found
No related merge requests found
...@@ -181,6 +181,10 @@ EPlayAction::Type UVAAudiofileSignalSource::GetPlayActionEnum(bool bDirectOnMast ...@@ -181,6 +181,10 @@ EPlayAction::Type UVAAudiofileSignalSource::GetPlayActionEnum(bool bDirectOnMast
int UVAAudiofileSignalSource::GetPlayAction(bool bDirectOnMaster /*= false*/) int UVAAudiofileSignalSource::GetPlayAction(bool bDirectOnMaster /*= false*/)
{ {
if(!bInitialized)
{
return -1;
}
//we return the internally stored action in case this is in cluster and not the master //we return the internally stored action in case this is in cluster and not the master
//but also update the internally stored data by the one which the master can get from the VAServer //but also update the internally stored data by the one which the master can get from the VAServer
//However, using cluster events to sync, so new data might only be available next frame! //However, using cluster events to sync, so new data might only be available next frame!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment