Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-02-02 14:47:25 +0300
committerJulian Eisel <julian@blender.org>2021-02-02 15:54:18 +0300
commitf3a2434bb60ca4a06bcfcc6264b34c980c5c2348 (patch)
tree04e0f19610043de320f785dd13b6a3696142b58e
parentfed191fd895c31cfa68c0b60354cb4a4ce5428cd (diff)
Cleanup: Use bool instead of int
-rw-r--r--source/blender/editors/physics/dynamicpaint_ops.c2
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) {