Style cleanup
This commit is contained in:
parent
c4eeda2673
commit
b4b5d9c24e
|
@ -2178,7 +2178,7 @@ static int animchannels_find_exec(bContext *C, wmOperator *op)
|
|||
return OPERATOR_CANCELLED;
|
||||
|
||||
/* update filter text, and ensure that filter is enabled if there's something there
|
||||
* NOTE: we turn the filter off if there's nothing (this is a quicky shortcut for dismissing)
|
||||
* NOTE: we turn the filter off if there's nothing (this is a quick shortcut for dismissing)
|
||||
*/
|
||||
RNA_string_get(op->ptr, "query", ac.ads->searchstr);
|
||||
|
||||
|
|
|
@ -155,7 +155,8 @@ static float event_tablet_data(const wmEvent *event, int *pen_flip)
|
|||
return pressure;
|
||||
}
|
||||
|
||||
static bool paint_tool_require_location(Brush *brush, PaintMode mode) {
|
||||
static bool paint_tool_require_location(Brush *brush, PaintMode mode)
|
||||
{
|
||||
switch (mode) {
|
||||
case PAINT_SCULPT:
|
||||
if (ELEM4(brush->sculpt_tool, SCULPT_TOOL_GRAB, SCULPT_TOOL_ROTATE,
|
||||
|
@ -163,9 +164,9 @@ static bool paint_tool_require_location(Brush *brush, PaintMode mode) {
|
|||
{
|
||||
return false;
|
||||
}
|
||||
else
|
||||
else {
|
||||
return true;
|
||||
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -488,7 +488,7 @@ int imb_savepng(struct ImBuf *ibuf, const char *name, int flags)
|
|||
|
||||
static void imb_png_warning(png_structp UNUSED(png_ptr), png_const_charp message)
|
||||
{
|
||||
/* We supress iCCP warnings. That's how Blender always used to behave,
|
||||
/* We suppress iCCP warnings. That's how Blender always used to behave,
|
||||
* and with new libpng it became too much picky, giving a warning on
|
||||
* the splash screen even.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue