diff --git a/Changes b/Changes index 8d0f20ab5d..d2b04a9a76 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ Improvements ------------ +- OpenImageIOAlgo::DataView : Added support for Int64Data, UInt64Data, Int64VectorData and UInt64VectorData. - IECoreHoudini : Updated to support Houdini 20.0 and 20.5. - IECoreMaya : Avoid compilation warnings with new gcc. diff --git a/src/IECoreImage/OpenImageIOAlgo.cpp b/src/IECoreImage/OpenImageIOAlgo.cpp index db023f8f3d..0d51eb338d 100644 --- a/src/IECoreImage/OpenImageIOAlgo.cpp +++ b/src/IECoreImage/OpenImageIOAlgo.cpp @@ -347,6 +347,14 @@ DataView::DataView( const IECore::Data *d, bool createUStrings ) type = TypeDesc::TypeInt; data = static_cast( d )->baseReadable(); break; + case UInt64DataTypeId : + type = TypeDesc::UINT64; + data = static_cast( d )->baseReadable(); + break; + case Int64DataTypeId : + type = TypeDesc::INT64; + data = static_cast( d )->baseReadable(); + break; case FloatDataTypeId : type = TypeDesc::TypeFloat; data = static_cast( d )->baseReadable(); @@ -471,6 +479,24 @@ DataView::DataView( const IECore::Data *d, bool createUStrings ) ); data = static_cast( d )->baseReadable(); break; + case UInt64VectorDataTypeId : + type = TypeDesc( + TypeDesc::UINT64, + TypeDesc::SCALAR, + TypeDesc::NOSEMANTICS, + static_cast( d )->readable().size() + ); + data = static_cast( d )->baseReadable(); + break; + case Int64VectorDataTypeId : + type = TypeDesc( + TypeDesc::INT64, + TypeDesc::SCALAR, + TypeDesc::NOSEMANTICS, + static_cast( d )->readable().size() + ); + data = static_cast( d )->baseReadable(); + break; case CharVectorDataTypeId : type = TypeDesc( TypeDesc::CHAR,