Fix getIndices() crash in Mesh (#6390)
Fix getIndices() crash in Mesh (#6390)

Fix getIndices() crash in Mesh, credit to Agueliethun

This was a copy/paste error from the Buffer casts change recently. The getIndices() code mistakenly changed the vertices buffer where it formerly changed only the indices buffer. This caused crashes in ModelCacheTest when the Cache checkbox was selected and any model was added.
bladecoder/libgdx,libgdx/libgdx,tommyettinger/libgdx,bladecoder/libgdx,NathanSweet/libgdx,bladecoder/libgdx,stinsonga/libgdx,Zomby2D/libgdx,NathanSweet/libgdx,NathanSweet/libgdx,libgdx/libgdx,libgdx/libgdx,cypherdare/libgdx,stinsonga/libgdx,libgdx/libgdx,tommyettinger/libgdx,tommyettinger/libgdx,tommyettinger/libgdx,stinsonga/libgdx,NathanSweet/libgdx,stinsonga/libgdx,Zomby2D/libgdx,bladecoder/libgdx,Zomby2D/libgdx,Zomby2D/libgdx,NathanSweet/libgdx,cypherdare/libgdx,Zomby2D/libgdx,stinsonga/libgdx,bladecoder/libgdx,tommyettinger/libgdx,cypherdare/libgdx,cypherdare/libgdx,cypherdare/libgdx,libgdx/libgdx