Cleanup: Use bool instead of int

This commit is contained in:
Julian Eisel 2021-02-02 12:47:25 +01:00
parent fed191fd89
commit f3a2434bb6
1 changed files with 1 additions and 1 deletions

View File

@ -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) {