Depsgraph: Fix crahs when selecting objects
Was wasy to reproduce by hitting A-key. Missing part of the recent orig_id pointer commit.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user