diff options
author | Julian Eisel <julian@blender.org> | 2021-02-02 14:47:25 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-02-02 15:54:18 +0300 |
commit | f3a2434bb60ca4a06bcfcc6264b34c980c5c2348 (patch) | |
tree | 04e0f19610043de320f785dd13b6a3696142b58e /source/blender/editors/physics | |
parent | fed191fd895c31cfa68c0b60354cb4a4ce5428cd (diff) |
Cleanup: Use bool instead of int
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/dynamicpaint_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/dynamicpaint_ops.c b/source/blender/editors/physics/dynamicpaint_ops.c index 381bf317bee..a761701f60b 100644 --- a/source/blender/editors/physics/dynamicpaint_ops.c +++ b/source/blender/editors/physics/dynamicpaint_ops.c @@ -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) { |