paint: cleanup

This commit is contained in:
luboslenco
2026-06-05 14:48:27 +02:00
parent 23ab6de6dd
commit 13cb0f8490
55 changed files with 573 additions and 726 deletions
+1 -1
View File
@@ -387,7 +387,7 @@ void render_path_paint_commands_paint(bool dilation) {
bool is_mask = slot_layer_is_mask(g_context->layer);
// Read texcoords from gbuffer
bool read_tc = (g_context->tool == TOOL_TYPE_FILL && g_context->fill_type_handle->i == FILL_TYPE_FACE) || g_context->tool == TOOL_TYPE_CLONE ||
bool read_tc = (g_context->tool == TOOL_TYPE_FILL && g_context->fill_type == FILL_TYPE_FACE) || g_context->tool == TOOL_TYPE_CLONE ||
g_context->tool == TOOL_TYPE_BLUR;
if (g_context->tool == TOOL_TYPE_PARTICLE) {