1 2 3 4 5 6 7 8 9 10 11 12 13
|
/* workaround for wrong const int * -> const uint32_t * in
SoDiffuseColorElement::set() */
%ignore set(SoState * const state, SoNode * const node,
const int32_t numcolors, const uint32_t * const colors,
const SbBool packedtransparency = FALSE);
%extend SoDiffuseColorElement {
void set(SoState * const state, SoNode * const node,
const int32_t numcolors, const uint32_t * const colors,
const SbBool packedtransparency = FALSE) {
SoDiffuseColorElement::set(state, node, numcolors, colors, packedtransparency);
}
}
|