diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-22 04:27:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-22 04:27:38 +0400 |
commit | e57d258169b0a358b27eb33416d949bfffbe7aea (patch) | |
tree | d79e25582aadb765881b4e038599b02e210dea7f /source/blender/editors/mesh/mesh_data.c | |
parent | 126f766b4cefd360e5f760875af34a0827dc2b4b (diff) |
- fix memory leak in mesh_strip_loose_polysloops(), occurred during 3ds import.
- updating normals in py/api's mesh.transform() wasn't working and gave annoying print, disable this, script authors can call calc_normals explicitly if they need.
Diffstat (limited to 'source/blender/editors/mesh/mesh_data.c')
-rw-r--r-- | source/blender/editors/mesh/mesh_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index d1fb437e114..5aea6f8d1c3 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -896,7 +896,7 @@ void ED_mesh_transform(Mesh *me, float *mat) for (i = 0; i < me->totvert; i++, mvert++) mul_m4_v3((float (*)[4])mat, mvert->co); - mesh_calc_normals_mapping(me->mvert, me->totvert, me->mloop, me->mpoly, me->totloop, me->totpoly, NULL, NULL, 0, NULL, NULL); + /* don't update normals, caller can do this explicitly */ } static void mesh_add_edges(Mesh *mesh, int len) |