MatthiasBuehlmann
11-26-2008, 09:27 PM
Hi!
i'm using the function
MFnMesh::getIntBlindData ( MFn::Type compType, int blindDataId, MString attrName, MIntArray & compIDs, MIntArray & data)
=>
myMeshFn.getIntBlindData(MFn::kMeshVertComponent,ID,"attributeName",indexArray, dataArray);
in order to return a whole buch of BlindData at once.
so - what i would expect now is, that if indexArray is for example [5,9,2], then my dataArray would carry the blindData for the fifth, the nineth and the second vertex after the functionCall.
However, what happens is that - independant from the content of 'indexArray' - dataArray will always hold the blindData of the first, the second, the third.... vertex. Such, they are returned always in the same order. (took me quite a while to trak that down...)
Is this a Bug in the Maya API or did i simply misunderstand the purpose of the "MIntArray & compIDs" argument?
Thanks!
i'm using the function
MFnMesh::getIntBlindData ( MFn::Type compType, int blindDataId, MString attrName, MIntArray & compIDs, MIntArray & data)
=>
myMeshFn.getIntBlindData(MFn::kMeshVertComponent,ID,"attributeName",indexArray, dataArray);
in order to return a whole buch of BlindData at once.
so - what i would expect now is, that if indexArray is for example [5,9,2], then my dataArray would carry the blindData for the fifth, the nineth and the second vertex after the functionCall.
However, what happens is that - independant from the content of 'indexArray' - dataArray will always hold the blindData of the first, the second, the third.... vertex. Such, they are returned always in the same order. (took me quite a while to trak that down...)
Is this a Bug in the Maya API or did i simply misunderstand the purpose of the "MIntArray & compIDs" argument?
Thanks!
