Merge pull request #65403 from lawnjelly/batching_ununit_color

This commit is contained in:
Rémi Verschelde 2022-09-06 09:55:39 +02:00 committed by GitHub
commit 5ccb86276c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1335,7 +1335,7 @@ PREAMBLE(bool)::_prefill_line(RasterizerCanvas::Item::CommandLine *p_line, FillS
// if the color has changed we need a new batch
// (only single color line batches supported so far)
if (r_fill_state.curr_batch->color != bcol) {
if (!change_batch && r_fill_state.curr_batch->color != bcol) {
change_batch = true;
}