Depsgraph: Use more explicit name for particle system evaluation opcode
This commit is contained in:
parent
abe0527e0f
commit
62de80166e
|
@ -725,7 +725,7 @@ void DepsgraphNodeBuilder::build_particles(Scene *scene, Object *ob)
|
|||
scene_cow,
|
||||
ob_cow,
|
||||
psys),
|
||||
DEG_OPCODE_PSYS_EVAL,
|
||||
DEG_OPCODE_PARTICLE_SYSTEM_EVAL,
|
||||
psys->name);
|
||||
}
|
||||
|
||||
|
|
|
@ -343,7 +343,7 @@ void DepsgraphRelationBuilder::add_forcefield_relations(const OperationKey &key,
|
|||
add_relation(mod_key, key, name);
|
||||
}
|
||||
else if (eff->psys != psys) {
|
||||
OperationKey eff_key(&eff->ob->id, DEG_NODE_TYPE_EVAL_PARTICLES, DEG_OPCODE_PSYS_EVAL, eff->psys->name);
|
||||
OperationKey eff_key(&eff->ob->id, DEG_NODE_TYPE_EVAL_PARTICLES, DEG_OPCODE_PARTICLE_SYSTEM_EVAL, eff->psys->name);
|
||||
add_relation(eff_key, key, name);
|
||||
}
|
||||
}
|
||||
|
@ -1253,7 +1253,7 @@ void DepsgraphRelationBuilder::build_particles(Scene *scene, Object *ob)
|
|||
build_animdata(&part->id);
|
||||
|
||||
/* this particle system */
|
||||
OperationKey psys_key(&ob->id, DEG_NODE_TYPE_EVAL_PARTICLES, DEG_OPCODE_PSYS_EVAL, psys->name);
|
||||
OperationKey psys_key(&ob->id, DEG_NODE_TYPE_EVAL_PARTICLES, DEG_OPCODE_PARTICLE_SYSTEM_EVAL, psys->name);
|
||||
|
||||
/* XXX: if particle system is later re-enabled, we must do full rebuild? */
|
||||
if (!psys_check_enabled(ob, psys, G.is_rendering))
|
||||
|
|
|
@ -121,7 +121,8 @@ static const char *stringify_opcode(eDepsOperation_Code opcode)
|
|||
STRINGIFY_OPCODE(BONE_CONSTRAINTS);
|
||||
STRINGIFY_OPCODE(BONE_READY);
|
||||
STRINGIFY_OPCODE(BONE_DONE);
|
||||
STRINGIFY_OPCODE(PSYS_EVAL);
|
||||
|
||||
STRINGIFY_OPCODE(PARTICLE_SYSTEM_EVAL);
|
||||
|
||||
STRINGIFY_OPCODE(SCENE_LAYER_INIT);
|
||||
STRINGIFY_OPCODE(SCENE_LAYER_EVAL);
|
||||
|
|
|
@ -207,7 +207,7 @@ typedef enum eDepsOperation_Code {
|
|||
|
||||
/* Particles --------------------------------------- */
|
||||
/* Particle System evaluation. */
|
||||
DEG_OPCODE_PSYS_EVAL,
|
||||
DEG_OPCODE_PARTICLE_SYSTEM_EVAL,
|
||||
|
||||
/* Collections ------------------------------------- */
|
||||
DEG_OPCODE_SCENE_LAYER_INIT,
|
||||
|
|
Loading…
Reference in New Issue