move RenderTemplate onto TileSet

This commit is contained in:
Chris Forbes
2011-10-10 17:43:09 +13:00
parent eaf15fa6b5
commit 1f1c2b25b0
3 changed files with 41 additions and 40 deletions

View File

@@ -122,7 +122,7 @@ namespace OpenRA.Editor
{
try
{
var bitmap = RenderUtils.RenderTemplate(tileset, (ushort)t.Key, palette);
var bitmap = tileset.RenderTemplate((ushort)t.Key, palette);
var ibox = new PictureBox
{
Image = bitmap,