I've added the issue, though getting a bit used to bitbucket.

I've made a few more modifications to vertexdomain.py, 
line 224
self.attribute_names['multi_tex_coords'] = []
line 228
self.attribute_names['multi_tex_coords'].insert(texture,attribute)

If I understand correctly, Dicts don't store/retrieve in any particular 
order, so changing tex_coords in multitex array's could potentially cause a 
mismatch when trying to set them (as multitex arrays were stored in a dict, 
IE: {'0': (0,0..), '1': (0,0..)} )
I've also added a small adjustment to _set_multi_tex_coords so if you pass 
a list with less arrays than what the multitex object has it will cut it 
off.

    def _set_multi_tex_coords(self, data):
        if self._get_multi_tex_coords() != None:
            for a in xrange(0, len(self._tex_coords_cache),1):
                if a > len(data):
                    break
                if data[a] != None:
                    self._tex_coords_cache[a].array[:] = data[a]


-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to