diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-30 12:49:45 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-30 12:49:45 +0300 |
commit | edc1e65809d1c622a15dbe60330947149db4776f (patch) | |
tree | aa17ba7f970f25d1ebf4378a85993dae90af39f3 /source/blender/blenloader | |
parent | 6afa0a7a50fdd579c4545a8b7718e79d4a6a78be (diff) |
Add deformed evaluated mesh to object
This is a first step to have correspondence of legacy derivedDeform
within a new formulation. Only base ground for now to support file
reading, copy-on-write remapping and such.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index bc4b8daf0d3..00e22cbb911 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -5523,6 +5523,7 @@ static void direct_link_object(FileData *fd, Object *ob) ob->bb = NULL; ob->derivedDeform = NULL; ob->derivedFinal = NULL; + BKE_object_runtime_reset(ob); BLI_listbase_clear(&ob->gpulamp); BLI_listbase_clear(&ob->drawdata); link_list(fd, &ob->pc_ids); |