All pastes #394067 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-14 00:59 UTC
rendered paste body
//our code
FlatRedBall.Content.SpriteEditorScene spriteEditorScene =
            FlatRedBall.Content.SpriteEditorScene.Deserialize("scnFiles/museum.scnx");
            
            Scene scene = spriteEditorScene.ToScene("Global"); //depricated?
            SpriteManager.AddScene(scene);

//SpriteGridSave.cs line 125, argument out of range exception
textureGrid.LastPaintedX.Add(textureGrid.FirstPaintedX[yOn] + GridSpacing * (sa.Length - 1));