Merged changes in the trunk up to revision 27992.
[blender.git] / source / blender / blenloader / intern / writefile.c
index 856f1d71c6d1ee8574356b0d84d18e087baba785..f164a44c10bcef29b2ca1d20b9ec92d85d8a9b77 100644 (file)
@@ -652,6 +652,9 @@ static void write_particlesettings(WriteData *wd, ListBase *idbase)
                                for(; state; state=state->next)
                                        write_boid_state(wd, state);
                        }
                                for(; state; state=state->next)
                                        write_boid_state(wd, state);
                        }
+                       if(part->fluid && part->phystype == PART_PHYS_FLUID){
+                               writestruct(wd, DATA, "SPHFluidSettings", 1, part->fluid); 
+                       }
                }
                part= part->id.next;
        }
                }
                part= part->id.next;
        }