diff options
author | Andrew Wiggin <ender79bl@gmail.com> | 2011-10-14 06:30:58 +0400 |
---|---|---|
committer | Andrew Wiggin <ender79bl@gmail.com> | 2011-10-14 06:30:58 +0400 |
commit | f3c8f3d663b0b0200c0ee88513f457ad78e3ad6e (patch) | |
tree | fbc059f8e191096ffff7ebd0bca751ac003108f0 /source/blender/editors/mesh | |
parent | 9f8608a8ec80bcf1a5a14b54a27f47dd57a09802 (diff) |
Build bug fix, and bug fix for smooth shading on meshes added by python scripts
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/mesh_data.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index 325a48c6422..08a7dc3b922 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -648,6 +648,8 @@ void ED_mesh_update(Mesh *mesh, bContext *C, int calc_edges) 0, 0); + mesh_update_customdata_pointers(mesh); + DAG_id_tag_update(&mesh->id, 0); WM_event_add_notifier(C, NC_GEOM|ND_DATA, mesh); } |