diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-20 20:48:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-20 20:48:39 +0400 |
commit | 3ba7a75a6c317cee35a96594ea050f23ad136a44 (patch) | |
tree | c74a67fb11bf112d52f34515119384f68a66adf0 /source/blender/editors/sculpt_paint | |
parent | 55d75f5020ebdbaeb9cab1c7be565c83ba722bc2 (diff) |
Correct cast from recent bool changes
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 2 |
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); } |