Fix T52414: Blender 2.79 crash on object duplication via menu.
Caused by own recent changes in handling of verts/edges/etc. arrays storage for raycasting (rBe324172d9ca6690e8). Issue was actually even weirder - there is absolutely no reason at all to release DM here, those finaldm are stored in Object or EditMesh structs and handled by general update system, other code shall never try to release them!
This commit is contained in:
@@ -744,8 +744,6 @@ static bool raycastObj(
|
||||
ray_start, ray_dir,
|
||||
ob, dm, obmat, ob_index,
|
||||
ray_depth, r_loc, r_no, r_index, r_hit_list);
|
||||
|
||||
dm->release(dm);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user