Removed the Main.particle list, used for ParticleSettings ID blocks.
There were still some type-agnostic uses as well, owing to the generic ListBase type.
This commit is contained in:
@@ -94,7 +94,6 @@ typedef struct Main {
|
||||
ListBase action;
|
||||
ListBase nodetree;
|
||||
ListBase brush;
|
||||
ListBase particle;
|
||||
ListBase palettes;
|
||||
ListBase paintcurves;
|
||||
ListBase wm;
|
||||
|
||||
@@ -1133,9 +1133,6 @@ void BKE_animdata_main_cb(Main *mainptr, ID_AnimData_Edit_Callback func, void *u
|
||||
/* meshes */
|
||||
ANIMDATA_IDS_CB(mainptr->mesh.first);
|
||||
|
||||
/* particles */
|
||||
ANIMDATA_IDS_CB(mainptr->particle.first);
|
||||
|
||||
/* speakers */
|
||||
ANIMDATA_IDS_CB(mainptr->speaker.first);
|
||||
|
||||
@@ -1226,9 +1223,6 @@ void BKE_animdata_fix_paths_rename_all(ID *ref_id, const char *prefix, const cha
|
||||
/* meshes */
|
||||
RENAMEFIX_ANIM_IDS(mainptr->mesh.first);
|
||||
|
||||
/* particles */
|
||||
RENAMEFIX_ANIM_IDS(mainptr->particle.first);
|
||||
|
||||
/* speakers */
|
||||
RENAMEFIX_ANIM_IDS(mainptr->speaker.first);
|
||||
|
||||
@@ -2812,9 +2806,6 @@ void BKE_animsys_evaluate_all_animation(Main *main, Scene *scene, float ctime)
|
||||
/* meshes */
|
||||
EVAL_ANIM_IDS(main->mesh.first, ADT_RECALC_ANIM);
|
||||
|
||||
/* particles */
|
||||
EVAL_ANIM_IDS(main->particle.first, ADT_RECALC_ANIM);
|
||||
|
||||
/* speakers */
|
||||
EVAL_ANIM_IDS(main->speaker.first, ADT_RECALC_ANIM);
|
||||
|
||||
|
||||
@@ -718,7 +718,6 @@ int set_listbasepointers(Main *main, ListBase **lb)
|
||||
lb[a++] = &(main->palettes);
|
||||
lb[a++] = &(main->paintcurves);
|
||||
lb[a++] = &(main->brush);
|
||||
lb[a++] = &(main->particle);
|
||||
lb[a++] = &(main->speaker);
|
||||
|
||||
lb[a++] = &(main->world);
|
||||
|
||||
@@ -3080,7 +3080,6 @@ void blo_do_versions_pre250(FileData *fd, Library *lib, Main *main)
|
||||
idproperties_fix_group_lengths(main->action);
|
||||
idproperties_fix_group_lengths(main->nodetree);
|
||||
idproperties_fix_group_lengths(main->brush);
|
||||
idproperties_fix_group_lengths(main->particle);
|
||||
}
|
||||
|
||||
/* sun/sky */
|
||||
|
||||
Reference in New Issue
Block a user