OgreScriptEditor.ui: fix duplicate object names.
Fix typo bug in ParseMaterialIndices.