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:
Bastien Montagne
2017-08-16 10:49:02 +02:00
parent 535e83687d
commit 1f3724f7f4

View File

@@ -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);
}
}