Make flood fill respect whole metatile selection, including smart path. Smart path is now a checkbox

This commit is contained in:
Marcus Huderle
2018-07-09 17:40:37 -05:00
parent aafe258842
commit 64095821af
7 changed files with 175 additions and 49 deletions

View File

@@ -909,3 +909,8 @@ void MainWindow::on_pushButton_clicked()
onMapNeedsRedrawing(editor->map);
}
}
void MainWindow::on_checkBox_smartPaths_stateChanged(int selected)
{
editor->map->smart_paths_enabled = selected == Qt::Checked;
}