hi Glauber,
and it worked :), but i dunno why was this check there and if it could
break something later on, can i take this check off on git?
i am afraid this would need more complex modifications. pdata-set! works
with the dVector type, which is a 3 or 4 element vector. you also need
to get the right amount of elements from scheme. maybe 4 elements would
not be that difficult to add, since dVector can hold that.
on the other hand, you could also try the "c" type for colours, which
can hold 4 elements. or the pdata matrix type "m", which is a vector
with 16 elements.
best,
gabor