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>2018-06-12 18:20:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-12 18:20:12 +0300
commite8dd4cd9cabb76f00838a975627c571a4fccdb18 (patch)
treeb25df215d8c834bd92e1b5aa061ded1f8b3f69b3 /source/blender/editors/sculpt_paint
parent2af7c38682d6d4fd87bd175dd90e40f15591ec5c (diff)
Cleanup: warning, spaces
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/paint_stroke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c
index 2e16ddb628f..a7aa19807dd 100644
--- a/source/blender/editors/sculpt_paint/paint_stroke.c
+++ b/source/blender/editors/sculpt_paint/paint_stroke.c
@@ -409,7 +409,7 @@ static bool paint_brush_update(bContext *C,
if ((do_random || do_random_mask) && stroke->rng == NULL) {
/* Lazy initialization. */
uint rng_seed = (uint)(PIL_check_seconds_timer_i() & UINT_MAX);
- rng_seed ^= (uint)(brush);
+ rng_seed ^= (uint)GET_INT_FROM_POINTER(brush);
stroke->rng = BLI_rng_new(rng_seed);
}