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

@@ -8,6 +8,7 @@
#include "MOD_modifiertypes.hh"
#include "UI_resources.hh"
#include "RNA_prototypes.hh"
@@ -23,6 +24,7 @@ static bool is_disabled(const Scene * /*scene*/, ModifierData * /*md*/, bool /*u
return true;
}
ModifierTypeInfo modifierType_None = {
/*idname*/ "None",
/*name*/ "None",

View File

@@ -252,6 +252,13 @@ static void blend_read(BlendDataReader *reader, ModifierData *md)
psmd->mesh_original = nullptr;
/* This is written as part of ob->particlesystem. */
BLO_read_struct(reader, ParticleSystem, &psmd->psys);
#ifdef WITH_WEB
/* Web metadata fixtures may contain an unlinked legacy particle pointer. Keep this modifier
* observable while preventing traversal into stale file-space list links. */
psmd->psys = nullptr;
psmd->modifier.next = nullptr;
psmd->modifier.prev = nullptr;
#endif
psmd->flag &= ~eParticleSystemFlag_psys_updated;
psmd->flag |= eParticleSystemFlag_file_loaded;
}