Fix #113323: Paint Secondary color not working in the Image Editor #113334

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:113323 into blender-v4.0-release 2023-10-11 13:35:45 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -164,11 +164,11 @@ static void brush_painter_2d_require_imbuf(
cache->ibuf = nullptr;
cache->tex_mask = nullptr;
cache->lastdiameter = -1; /* force ibuf create in refresh */
cache->invert = invert;
}
cache->use_float = use_float;
cache->use_color_correction = use_float && use_color_correction;
cache->invert = invert;
cache->is_texbrush = (brush->mtex.tex && brush->imagepaint_tool == PAINT_TOOL_DRAW) ? true :
false;
cache->is_maskbrush = (brush->mask_mtex.tex) ? true : false;