Revert "Particle system: Move runtime data to runtime field"

This reverts commit 36faf739a7.

Somewhat annoying but this change had some unforeseen consequences,
which lead to an actual bug.

Since this change was not sufficient to get original report fixed
is easier to simply revert for now.

Fixes T65842: Hair disappears when clicking on particle system name
This commit is contained in:
2019-06-21 11:49:43 +02:00
parent 964e319a39
commit 7070e4c15e
15 changed files with 223 additions and 324 deletions

View File

@@ -1125,7 +1125,7 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mes
if (psys->part == NULL || psys->particles == NULL) {
return mesh;
}
if (BKE_particle_modifier_mesh_final_get(psmd) == NULL) {
if (psmd->mesh_final == NULL) {
return mesh;
}