wow, it works!
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1190 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -92,7 +92,7 @@ namespace ShpViewer
|
||||
if (!TreeCache.TryGetValue(name, out ret))
|
||||
{
|
||||
ShpReader shp = new ShpReader(TileSet.MixFile.GetContent(name + TileSuffix));
|
||||
ret = BitmapBuilder.FromBytes(shp[0].Image, shp.Width, shp.Height, pal); ;
|
||||
ret = BitmapBuilder.FromBytes(shp[0].Image, shp.Size, pal); ;
|
||||
TreeCache.Add(name, ret);
|
||||
}
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user