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/blenloader/intern/writefile.c')
-rw-r--r--source/blender/blenloader/intern/writefile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index a8cd11bb004..589f6707b8f 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -1749,6 +1749,7 @@ static void write_meshIsland(WriteData* wd, MeshIsland* mi, bool write_data)
if (write_data) {
writedata(wd, DATA, sizeof(float) * 3 * mi->frame_count, mi->locs);
writedata(wd, DATA, sizeof(float) * 4 * mi->frame_count, mi->rots);
+ writedata(wd, DATA, sizeof(float) * mi->frame_count, mi->acc_sequence);
}
else {
if (mi->locs) {
@@ -1761,6 +1762,11 @@ static void write_meshIsland(WriteData* wd, MeshIsland* mi, bool write_data)
mi->rots = NULL;
}
+ if (mi->acc_sequence){
+ MEM_freeN(mi->acc_sequence);
+ mi->acc_sequence = NULL;
+ }
+
mi->frame_count = 0;
}