Fixed issue with indices.
Fixed issue with indices.

Depending on the compiler, inserting into a map while reading the size
of in the same line produces different results. So on some machines the
indices would be messed up if a mesh with shared vertex data was used.

RealityFactory/ogre,RealityFactory/ogre,RealityFactory/ogre,RealityFactory/ogre,RealityFactory/ogre