Cleanup: clang-format
This commit is contained in:
@@ -2921,8 +2921,7 @@ static void gpencil_draw_apply_event(
|
||||
|
||||
if (is_speed_guide && !ELEM(p->paintmode, GP_PAINTMODE_ERASER, GP_PAINTMODE_SET_CP) &&
|
||||
((guide->use_snapping && (guide->type == GP_GUIDE_GRID)) ||
|
||||
(guide->type == GP_GUIDE_ISO)))
|
||||
{
|
||||
(guide->type == GP_GUIDE_ISO))) {
|
||||
p->flags |= GP_PAINTFLAG_REQ_VECTOR;
|
||||
}
|
||||
|
||||
|
@@ -315,8 +315,7 @@ static void file_draw_preview(uiBlock *block,
|
||||
uchar icon_color[4] = {0, 0, 0, 255};
|
||||
float bgcolor[4];
|
||||
UI_GetThemeColor4fv(TH_TEXT, bgcolor);
|
||||
if (rgb_to_grayscale(bgcolor) < 0.5f)
|
||||
{
|
||||
if (rgb_to_grayscale(bgcolor) < 0.5f) {
|
||||
icon_color[0] = 255;
|
||||
icon_color[1] = 255;
|
||||
icon_color[2] = 255;
|
||||
|
Reference in New Issue
Block a user