Fix wrong destruction order - TerrainMaterialGenerator destructor deletes from material factory, so it needs to be deleted afterwards
Merge branch 'master' of github.com:stuntrally/stuntrally