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:
Lukas Tönne
2016-04-16 12:28:29 +02:00
parent 7c57822afa
commit 15c8d095e5
4 changed files with 0 additions and 12 deletions

View File

@@ -94,7 +94,6 @@ typedef struct Main {
ListBase action;
ListBase nodetree;
ListBase brush;
ListBase particle;
ListBase palettes;
ListBase paintcurves;
ListBase wm;

View File

@@ -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);

View File

@@ -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);

View File

@@ -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 */