Cleanup: Use bool instead of int
This commit is contained in:
parent
fed191fd89
commit
f3a2434bb6
|
@ -233,7 +233,7 @@ static int output_toggle_exec(bContext *C, wmOperator *op)
|
|||
|
||||
/* if type is already enabled, toggle it off */
|
||||
if (surface->format == MOD_DPAINT_SURFACE_F_VERTEX) {
|
||||
int exists = dynamicPaint_outputLayerExists(surface, ob, output);
|
||||
bool exists = dynamicPaint_outputLayerExists(surface, ob, output);
|
||||
const char *name;
|
||||
|
||||
if (output == 0) {
|
||||
|
|
Loading…
Reference in New Issue