diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-01-18 16:14:53 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-01-18 16:14:53 +0300 |
commit | 539e170d79567752fe7e641637d4057a6e8ab583 (patch) | |
tree | eaa952a63f7cb61e5b9e1c8289dc0819fdd94124 /source | |
parent | e8452cf0bccea0b06a24b370e9ed2331abec3a3c (diff) |
Depsgraph: Fix crahs when selecting objects
Was wasy to reproduce by hitting A-key.
Missing part of the recent orig_id pointer commit.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/object_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/object_update.c b/source/blender/blenkernel/intern/object_update.c index 71d8c1981af..d97fba5cb3b 100644 --- a/source/blender/blenkernel/intern/object_update.c +++ b/source/blender/blenkernel/intern/object_update.c @@ -361,7 +361,7 @@ void BKE_object_eval_uber_data(const EvaluationContext *eval_ctx, * This way we can restore original object data when we are freeing * evaluated mesh. */ - new_mesh->id.newid = &mesh->id; + new_mesh->id.orig_id = &mesh->id; } #if 0 if (ob->derivedFinal != NULL) { |