Cleanup: format

This commit is contained in:
Chris Blackbourn 2022-11-29 17:32:28 +13:00
parent 3d1594417b
commit 4067e6bc41
2 changed files with 10 additions and 5 deletions

View File

@ -17,7 +17,6 @@
#include "DNA_meshdata_types.h"
namespace blender::bke::uv_islands {
struct MeshEdge;

View File

@ -362,12 +362,18 @@ static void do_paint_pixels(void *__restrict userdata,
}
bool pixels_painted = false;
if (image_buffer->rect_float != nullptr) {
pixels_painted = kernel_float4.paint(
pbvh_data.geom_primitives, node_data.uv_primitives, pixel_row, image_buffer, &automask_data);
pixels_painted = kernel_float4.paint(pbvh_data.geom_primitives,
node_data.uv_primitives,
pixel_row,
image_buffer,
&automask_data);
}
else {
pixels_painted = kernel_byte4.paint(
pbvh_data.geom_primitives, node_data.uv_primitives, pixel_row, image_buffer, &automask_data);
pixels_painted = kernel_byte4.paint(pbvh_data.geom_primitives,
node_data.uv_primitives,
pixel_row,
image_buffer,
&automask_data);
}
if (pixels_painted) {