From c9c66720c8e2722a50945e0dd09fe3027832e6a3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 26 Mar 2012 04:32:04 +0000 Subject: disallow adding tessfaces to a mesh with polygons (only allowed case is creating a new mesh with tessfaces and later converting to polygons, which wont work if polygons exist) --- source/blenderplayer/bad_level_call_stubs/stubs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blenderplayer') diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index 715eb3b58b5..cff4d34e344 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -324,7 +324,7 @@ void ED_mesh_transform(struct Mesh *me, float *mat){} void ED_mesh_update(struct Mesh *mesh, struct bContext *C){} void ED_mesh_vertices_add(struct Mesh *mesh, struct ReportList *reports, int count){} void ED_mesh_edges_add(struct Mesh *mesh, struct ReportList *reports, int count){} -void ED_mesh_faces_add(struct Mesh *mesh, struct ReportList *reports, int count){} +void ED_mesh_tessfaces_add(struct Mesh *mesh, struct ReportList *reports, int count){} void ED_mesh_loops_add(struct Mesh *mesh, struct ReportList *reports, int count){} void ED_mesh_polys_add(struct Mesh *mesh, struct ReportList *reports, int count){} void ED_mesh_vertices_remove(struct Mesh *mesh, struct ReportList *reports, int count){} -- cgit v1.2.3