Fix T47531: crash with particle roughness curve mapping, after fix for T46382.

This commit is contained in:
Brecht Van Lommel 2016-02-23 04:22:13 +01:00
parent e4e21480d6
commit f5872d2747

@ -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 {