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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-20 20:48:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-20 20:48:39 +0400
commit3ba7a75a6c317cee35a96594ea050f23ad136a44 (patch)
treec74a67fb11bf112d52f34515119384f68a66adf0 /source/blender
parent55d75f5020ebdbaeb9cab1c7be565c83ba722bc2 (diff)
Correct cast from recent bool changes
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c
index 6ac65e431ea..29f8fba20c5 100644
--- a/source/blender/editors/sculpt_paint/sculpt_undo.c
+++ b/source/blender/editors/sculpt_paint/sculpt_undo.c
@@ -74,7 +74,7 @@
static void update_cb(PBVHNode *node, void *rebuild)
{
BKE_pbvh_node_mark_update(node);
- if (*((int *)rebuild))
+ if (*((bool *)rebuild))
BKE_pbvh_node_mark_rebuild_draw(node);
BKE_pbvh_node_fully_hidden_set(node, 0);
}