@ -2,7 +2,7 @@
// Copyright (C) 2010 Winch Gate Property Limited
//
// This source file has been modified by the following contributors:
// Copyright (C) 20 20 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
// Copyright (C) 20 19-20 20 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
@ -1811,7 +1811,7 @@ bool CServerAnimationModule::translateActToPrimitive(CInstanceMap& components, C
CObject * tree = act - > getAttr ( " UserTriggers " ) ;
if ( ! tree | | ! tree - > isTable ( ) )
{
nlwarning ( " R2An: Data corrupted " ) ;
nlwarning ( " R2An: Data corrupted : UserTriggers missing " ) ;
return false ;
}
uint32 lastnode = tree - > getSize ( ) ;
@ -1824,7 +1824,7 @@ bool CServerAnimationModule::translateActToPrimitive(CInstanceMap& components, C
| | ! node - > isString ( " Name " )
| | ! node - > isString ( " Grp " ) )
{
nlwarning ( " R2An: Data corrupted " ) ;
nlwarning ( " R2An: Data corrupted : Invalid UserTrigger " ) ;
return false ;
}
@ -1902,7 +1902,7 @@ bool CServerAnimationModule::doMakeAnimationSession(CAnimationSession* animSessi
CObject * plotItems = rtScenario - > getAttr ( " PlotItems " ) ;
if ( ! plotItems | | ! plotItems - > isTable ( ) )
{
nlwarning ( " R2An: Data corrupted:session '%u' " , sessionId . asInt ( ) ) ;
nlwarning ( " R2An: Data corrupted:session '%u' : missing PlotItems " , sessionId . asInt ( ) ) ;
return false ;
}
@ -1919,7 +1919,7 @@ bool CServerAnimationModule::doMakeAnimationSession(CAnimationSession* animSessi
| | ! plotItem - > isString ( " Comment " )
)
{
nlwarning ( " R2An: Data corrupted:session '%u' " , sessionId . asInt ( ) ) ;
nlwarning ( " R2An: Data corrupted:session '%u' : Invalid PlotItem " , sessionId . asInt ( ) ) ;
return false ;
}
@ -1960,7 +1960,7 @@ bool CServerAnimationModule::doMakeAnimationSession(CAnimationSession* animSessi
CObject * locations = rtScenario - > getAttr ( " Locations " ) ;
if ( ! locations | | ! locations - > isTable ( ) )
{
nlwarning ( " R2An: Data corrupted " ) ;
nlwarning ( " R2An: Data corrupted : Missing Locations " ) ;
return false ;
}
uint32 lastLocation = locations - > getSize ( ) ;
@ -1976,7 +1976,7 @@ bool CServerAnimationModule::doMakeAnimationSession(CAnimationSession* animSessi
)
{
nlwarning ( " R2An: Data corrupted:session '%u' " , sessionId . asInt ( ) ) ;
nlwarning ( " R2An: Data corrupted:session '%u' : Invalid Location " , sessionId . asInt ( ) ) ;
return false ;
}
@ -2013,7 +2013,7 @@ bool CServerAnimationModule::doMakeAnimationSession(CAnimationSession* animSessi
bool ok = translateActToPrimitive ( components , animSession , act , firstAct , primDocs [ firstAct ] ) ; //TODO
if ( ! ok )
{
nlwarning ( " R2An: Data corrupted:session '%u' " , sessionId . asInt ( ) ) ;
nlwarning ( " R2An: Data corrupted:session '%u' : Failed Act translation " , sessionId . asInt ( ) ) ;
return false ;
}
}