Fixed a bug in per_n_light iterations that caused the light type to not be read properly.
Fixed a bug in per_n_light iterations that caused the light type to not be read properly.

--HG--
branch : v1-6

digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre,digimatic/ogre