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')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
-rw-r--r--source/blender/blenloader/intern/writefile.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 11c65f783bc..0723b8175fc 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2204,7 +2204,7 @@ static void direct_link_object(FileData *fd, Object *ob)
paf= paf->next;
}
- link_list(fd, &ob->network);
+ ob->pd= newdataadr(fd, ob->pd);
link_list(fd, &ob->prop);
prop= ob->prop.first;
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 5b49f952140..32249c1c46b 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -649,6 +649,8 @@ static void write_objects(WriteData *wd, ListBase *idbase)
write_constraints(wd, &ob->constraints);
write_constraint_channels(wd, &ob->constraintChannels);
write_nlastrips(wd, &ob->nlastrips);
+
+ writestruct(wd, DATA, "PartDeflect", 1, ob->pd);
}
ob= ob->id.next;
}