diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-08-16 11:49:02 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-08-16 11:52:49 +0300 |
commit | 1f3724f7f4f62a3c7829547d523fbc6686acf8b8 (patch) | |
tree | 040857e3ee72333ae2f32de96f691314278e94f6 | |
parent | 535e83687d3efc6431a47d259c94131029c1edf3 (diff) |
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!
-rw-r--r-- | source/blender/editors/transform/transform_snap_object.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index fff92a8385a..867f04563c6 100644 --- a/source/blender/editors/transform/transform_snap_object.c +++ b/source/blender/editors/transform/transform_snap_object.c @@ -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); } } |