diff --git a/src/Tools/BaseDraw.gd b/src/Tools/BaseDraw.gd index bc12cb12b..80fcee12e 100644 --- a/src/Tools/BaseDraw.gd +++ b/src/Tools/BaseDraw.gd @@ -467,7 +467,7 @@ func remove_unselected_parts_of_brush(brush: Image, dst: Vector2i) -> Image: for x in brush_size.x: for y in brush_size.y: var pos := Vector2i(x, y) + dst - if !project.selection_map.is_pixel_selected(pos): + if !project.can_pixel_get_drawn(pos): new_brush.set_pixel(x, y, Color(0)) return new_brush