Removed unused variable.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user