Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesrna/intern/rna_particle.c')
-rw-r--r--source/blender/makesrna/intern/rna_particle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_particle.c b/source/blender/makesrna/intern/rna_particle.c
index 6af131fd857..4e1a539fe69 100644
--- a/source/blender/makesrna/intern/rna_particle.c
+++ b/source/blender/makesrna/intern/rna_particle.c
@@ -625,7 +625,7 @@ static void rna_Particle_change_type(Main *bmain, Scene *UNUSED(scene), PointerR
ParticleSettings *part = ptr->id.data;
/* Iterating over all object is slow, but no better solution exists at the moment. */
- for (Object *ob = bmain->object.first; ob; ob = ob->id.next) {
+ for (Object *ob = bmain->objects.first; ob; ob = ob->id.next) {
for (ParticleSystem *psys = ob->particlesystem.first; psys; psys = psys->next) {
if (psys->part == part) {
psys_changed_type(ob, psys);