private void AssignTextureId(int id, TextureInventory.Entry entry) { Win32.SetRedraw(this, false); UndoManager.RecordUndo(); if (!entry.IsValid) { TerrainManager.ClearTextureId(id); } TerrainManager.AssignTextureId(id, entry); UndoManager.CommitUndo(); this.UpdateList(); Win32.SetRedraw(this, true); this.Refresh(); }
public static void AssignTextureId(int id, TextureInventory.Entry entry) { Binding.FCE_TerrainManager_AssignTextureId(id, entry.Pointer); }