Advance M16 modifier parity and context governance
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-08-20 10:01:24 -04:00
parent 01028d1ad5
commit 59c151f45d
157 changed files with 6459 additions and 48 deletions

View File

@@ -5711,6 +5711,12 @@ void BKE_particle_system_blend_read_after_liblink(BlendLibReader * /*reader*/,
}
}
else {
#ifdef WITH_WEB
/* Keep unlinked legacy particle systems in the Web Main as metadata-only entries. The
* desktop cleanup path assumes a fully linked ParticleSettings pointer and would free a
* stale modifier allocation in the narrow Web registry. */
continue;
#else
/* Particle modifier must be removed before particle system. */
ParticleSystemModifierData *psmd = psys_get_modifier(ob, &psys);
BKE_modifier_remove_from_list(ob, reinterpret_cast<ModifierData *>(psmd));
@@ -5718,6 +5724,7 @@ void BKE_particle_system_blend_read_after_liblink(BlendLibReader * /*reader*/,
BLI_remlink(particles, &psys);
MEM_delete(&psys);
#endif
}
}
}