Merge branch 'blender-v3.1-release'

This commit is contained in:
Antonio Vazquez 2022-02-25 11:22:17 +01:00
commit 8f1ee85ff4
1 changed files with 1 additions and 1 deletions

View File

@ -1239,7 +1239,7 @@ static bool contract_shape(ImBuf *ibuf)
const float clear[4] = {0.0f, 0.0f, 0.0f, 0.0f};
const int max_size = (ibuf->x * ibuf->y) - 1;
/* Detect if pixel is near of no green pixels and mark green to be cleared. */
/* detect pixels and expand into red areas */
for (int row = 0; row < ibuf->y; row++) {
if (!is_row_filled(ibuf, row)) {
continue;