public override void Undo() { _terrain.DeleteDecorationModelResource(_model); if (TerrainEditor.CurrentDecorationModel == _model) { TerrainEditor.CurrentDecorationModel = null; } TerrainEditor.TriggerOnDecorationModelListChanged(); }
public override void Do() { _terrain.AddDecorationModelResource(_model); TerrainEditor.TriggerOnDecorationModelListChanged(); }