important to mount a theater package in sequence editor

This commit is contained in:
Chris Forbes
2009-12-28 14:12:40 +13:00
parent 4f87f46833
commit 8696273a5c

View File

@@ -25,7 +25,7 @@ namespace SequenceEditor
{ {
if (Shps.ContainsKey(shp)) return; if (Shps.ContainsKey(shp)) return;
var reader = new ShpReader(FileSystem.OpenWithExts(shp, ".shp", ".tem", ".sno", ".int")); var reader = new ShpReader(FileSystem.OpenWithExts(shp, ".tem", ".sno", ".int", ".shp"));
Shps[shp] = reader.Select(ih => Shps[shp] = reader.Select(ih =>
{ {
var bmp = new Bitmap(reader.Width, reader.Height); var bmp = new Bitmap(reader.Width, reader.Height);
@@ -74,6 +74,7 @@ namespace SequenceEditor
try try
{ {
FileSystem.MountDefault( true ); FileSystem.MountDefault( true );
FileSystem.MountTemporary(new Package("temperat.mix"));
} }
catch( FileNotFoundException fnf ) catch( FileNotFoundException fnf )
{ {