Fixed problem with Undo not updating the used textures on screen

This commit is contained in:
codeimp 2009-03-13 13:48:04 +00:00
parent 61269dfae5
commit 7dcd323fc9

View file

@ -390,6 +390,7 @@ namespace CodeImp.DoomBuilder.Editing
// Update
dobackgroundwork = true;
General.Map.Data.UpdateUsedTextures();
General.MainWindow.RedrawDisplay();
General.MainWindow.UpdateInterface();
}
@ -465,6 +466,8 @@ namespace CodeImp.DoomBuilder.Editing
General.Plugins.OnRedoEnd();
// Update
dobackgroundwork = true;
General.Map.Data.UpdateUsedTextures();
General.MainWindow.RedrawDisplay();
General.MainWindow.UpdateInterface();
}