NullPointer Exception in SceneLoader.java

I received a NullPointerException when loading an external Ogre file.



It happened at line 499 of SceneLoader.java and occurred because materllist was null.



Loading worked fine until I updated today (I have no updated in months, apologies).



Everything works as expected if I add a null check alongside the materialList.isEmpty() check.



In SceneMaterialLoader.load(), the reset() function is called which nulls out the materialList. I am not sure where materialList is supposed to get set after that but it could be the source of the problem.



Anyhow, just something I ran into today

Thanks, it is fixed in SVN.