gluTessCallback, # of args for vertex
Brought to you by:
mcfletch
The vertex callback setup with gluTessCallback(
tesObject, GLU_TESS_VERTEX, callback) is supposed to
be handed one argument (the vertex data). Instead,
it's handed back 4 arguments, with the 2, 3 and 4th
being None in all cases I've tested.
Workaround is to just define garbage params, but it
should be fixed.
Logged In: YES
user_id=34901
Additional notes: Behaviour depends on the data passed to
gluTessVertex, a tuple of length x passed in gets unpacked
into x args, so in the original report, I'd passed in a 4-
element tuple, thus getting 4 arguments. Workarounds
possible in any given case, but should still be fixed.
Logged In: YES
user_id=21784
Was due to incorrect usage of PyObject_CallFunction. Now
fixed in build 28.
Tarn