Fix scissoring in the editor.

This commit is contained in:
Paul Chote
2015-06-21 13:47:20 +01:00
parent 198a51e5e0
commit 53e9692dbe
2 changed files with 13 additions and 15 deletions

View File

@@ -132,7 +132,7 @@ namespace OpenRA.Graphics
return;
var renderables = GenerateRenderables();
var bounds = Viewport.ScissorBounds;
var bounds = Viewport.GetScissorBounds(World.Type != WorldType.Editor);
Game.Renderer.EnableScissor(bounds);
terrainRenderer.Draw(this, Viewport);