fixed: MeterDisplay::StreamWidth was not loaded from node
This commit is contained in:
@@ -37,6 +37,7 @@ void MeterDisplay::LoadFromNode( const XNode* pNode )
|
|||||||
if( !pNode->GetAttrValue( "StreamWidth", sExpr ) )
|
if( !pNode->GetAttrValue( "StreamWidth", sExpr ) )
|
||||||
RageException::Throw( "%s: MeterDisplay: missing the \"StreamWidth\" attribute", ActorUtil::GetWhere(pNode).c_str() );
|
RageException::Throw( "%s: MeterDisplay: missing the \"StreamWidth\" attribute", ActorUtil::GetWhere(pNode).c_str() );
|
||||||
|
|
||||||
|
m_fStreamWidth=StringToFloat(sExpr);
|
||||||
{
|
{
|
||||||
RString sStreamPath;
|
RString sStreamPath;
|
||||||
if( !ActorUtil::GetAttrPath(pNode, "StreamPath", sStreamPath) )
|
if( !ActorUtil::GetAttrPath(pNode, "StreamPath", sStreamPath) )
|
||||||
|
|||||||
Reference in New Issue
Block a user