From f50862c2905181fda605aead91ec8ee521a6ea46 Mon Sep 17 00:00:00 2001 From: Ashley Retallack Date: Mon, 25 Nov 2013 14:55:21 +0000 Subject: [PATCH] added AI_TYPE_BYTE case to ToArnoldConverter.cpp --- contrib/IECoreArnold/src/IECoreArnold/ToArnoldConverter.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/IECoreArnold/src/IECoreArnold/ToArnoldConverter.cpp b/contrib/IECoreArnold/src/IECoreArnold/ToArnoldConverter.cpp index 1348f09033..80659be4cd 100644 --- a/contrib/IECoreArnold/src/IECoreArnold/ToArnoldConverter.cpp +++ b/contrib/IECoreArnold/src/IECoreArnold/ToArnoldConverter.cpp @@ -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( name, value ) ) + { + AiNodeSetByte( node, name, data->readable() ); + } + break; case AI_TYPE_FLOAT : if( const FloatData *data = dataCast( name, value ) ) {