From f5872d2747b8caef60a0b6201524a2c5b7fb029e Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 23 Feb 2016 04:22:13 +0100 Subject: Fix T47531: crash with particle roughness curve mapping, after fix for T46382. --- source/blender/blenkernel/intern/particle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index bc3091710da..d02308b6482 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -2113,7 +2113,7 @@ static bool psys_thread_context_init_path(ParticleThreadContext *ctx, ParticleSi ctx->clumpcurve = NULL; } if ((part->child_flag & PART_CHILD_USE_ROUGH_CURVE) && part->roughcurve) { - ctx->clumpcurve = curvemapping_copy(part->roughcurve); + ctx->roughcurve = curvemapping_copy(part->roughcurve); curvemapping_changed_all(ctx->roughcurve); } else { -- cgit v1.2.3