Skip to content

Commit

Permalink
Merge pull request #179 from compso/aiByte_fix
Browse files Browse the repository at this point in the history
added AI_TYPE_BYTE case to ToArnoldConverter.cpp
  • Loading branch information
johnhaddon committed Nov 25, 2013
2 parents 998250f + f50862c commit 76ab8ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions contrib/IECoreArnold/src/IECoreArnold/ToArnoldConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,12 @@ void ToArnoldConverter::setParameterInternal( AtNode *node, const char *name, in
AiNodeSetInt( node, name, data->readable() );
}
break;
case AI_TYPE_BYTE :
if( const IntData *data = dataCast<IntData>( name, value ) )
{
AiNodeSetByte( node, name, data->readable() );
}
break;
case AI_TYPE_FLOAT :
if( const FloatData *data = dataCast<FloatData>( name, value ) )
{
Expand Down

0 comments on commit 76ab8ba

Please sign in to comment.