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:
Diffstat (limited to 'source/blender/editors/object/object_modifier.c')
-rw-r--r--source/blender/editors/object/object_modifier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_modifier.c b/source/blender/editors/object/object_modifier.c
index 191677989b9..0aa7e1083c3 100644
--- a/source/blender/editors/object/object_modifier.c
+++ b/source/blender/editors/object/object_modifier.c
@@ -1530,7 +1530,7 @@ static void oceanbake_update(void *customdata, float progress, int *cancel)
if (oceanbake_breakjob(oj))
*cancel = 1;
- *(oj->do_update) = 1;
+ *(oj->do_update) = TRUE;
*(oj->progress) = progress;
}
@@ -1546,7 +1546,7 @@ static void oceanbake_startjob(void *customdata, short *stop, short *do_update,
BKE_bake_ocean(oj->ocean, oj->och, oceanbake_update, (void *)oj);
- *do_update = 1;
+ *do_update = TRUE;
*stop = 0;
}