Fix small drawing error in TileSet editor

This commit is contained in:
Michael Alexsander Silva Dias 2018-12-20 19:52:56 -02:00
parent aa819a8538
commit daf54133c2

View file

@ -874,6 +874,9 @@ void TileSetEditor::_on_workspace_draw() {
draw_edited_region_subdivision();
} else {
int t_id = get_current_tile();
if (t_id < 0)
return;
Rect2i region;
if (draw_edited_region)
region = edited_region;