Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Wiggin <ender79bl@gmail.com>2011-10-14 06:30:58 +0400
committerAndrew Wiggin <ender79bl@gmail.com>2011-10-14 06:30:58 +0400
commitf3c8f3d663b0b0200c0ee88513f457ad78e3ad6e (patch)
treefbc059f8e191096ffff7ebd0bca751ac003108f0 /source/blender/editors/mesh
parent9f8608a8ec80bcf1a5a14b54a27f47dd57a09802 (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.c2
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);
}