Removed unused variable.
This commit is contained in:
parent
09f171c525
commit
34762de38f
|
@ -145,7 +145,7 @@ typedef struct ParticleThreadContext {
|
|||
float maxweight;
|
||||
int *index, *skip, jitlevel;
|
||||
|
||||
int from, cfrom, distr;
|
||||
int cfrom, distr;
|
||||
|
||||
struct ParticleData *tpars;
|
||||
|
||||
|
|
|
@ -1080,7 +1080,6 @@ static int psys_thread_context_init_distribute(ParticleThreadContext *ctx, Parti
|
|||
ctx->jitoff= jitter_offset;
|
||||
ctx->weight= element_weight;
|
||||
ctx->maxweight= maxweight;
|
||||
ctx->from= (children) ? PART_FROM_CHILD : from;
|
||||
ctx->cfrom= cfrom;
|
||||
ctx->distr= distr;
|
||||
ctx->dm= dm;
|
||||
|
|
Loading…
Reference in New Issue