private void ReloadTextures()
        {
            textureManager.Clean();

            textureManager.LoadTextureData(ConfigManager.BackgroundsFolder, "*.jpg");
            textureManager.LoadTextureData(ConfigManager.BackgroundsFolder, "*.png");
        }
예제 #2
0
        protected override int OnCalculateSize(bool force)
        {
            //Clean and sort influence list
            _influences.Clean();
            _influences.Sort();

            //Clean and sort texture list
            _textures.Clean();
            _textures.Sort();

            _linker = ModelLinker.Prepare(this);
            return(ModelEncoder.CalcSize(_linker));
        }