diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-02-18 01:34:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-02-18 01:34:41 +0300 |
commit | 27e812d69702c43313af8a5521841fd7f4da69f1 (patch) | |
tree | b54543b140c5d38a46eef7ddf189adfaaafe8d54 /source/blender/editors/mesh | |
parent | 456ca98564555bb072e0e72b64f790e4b8c6ceec (diff) |
Clear some compiler warnings by commenting some functions, adding others to headers.
left in warnings where functions obviously need to get ported to 2.5x still.
Also, render stamp seq strip works again.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editface.c | 6 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_loop.c | 8 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_mods.c | 4 |
3 files changed, 6 insertions, 12 deletions
diff --git a/source/blender/editors/mesh/editface.c b/source/blender/editors/mesh/editface.c index 6780cf921b8..fa202bde54f 100644 --- a/source/blender/editors/mesh/editface.c +++ b/source/blender/editors/mesh/editface.c @@ -152,7 +152,7 @@ MTFace *EM_get_active_mtface(EditMesh *em, EditFace **act_efa, MCol **mcol, int return NULL; } -static void paintface_unhide(Scene *scene) +void paintface_unhide(Scene *scene) { Mesh *me; MFace *mface; @@ -174,7 +174,7 @@ static void paintface_unhide(Scene *scene) paintface_flush_flags(OBACT); } -static void paintface_hide(Scene *scene) +void paintface_hide(Scene *scene) { Mesh *me; MFace *mface; @@ -397,7 +397,7 @@ void paintface_deselect_all_visible(Object *ob, int action, short flush_flags) } } -static void paintface_select_swap(Scene *scene) +void paintface_select_swap(Scene *scene) { Mesh *me; MFace *mface; diff --git a/source/blender/editors/mesh/editmesh_loop.c b/source/blender/editors/mesh/editmesh_loop.c index a8dd3837bc2..ede7cf0b7c8 100644 --- a/source/blender/editors/mesh/editmesh_loop.c +++ b/source/blender/editors/mesh/editmesh_loop.c @@ -71,14 +71,10 @@ editmesh_loop: tools with own drawing subloops, select, knife, subdiv #include "mesh_intern.h" /* **** XXX ******** */ -static void BIF_undo_push(const char *UNUSED(arg)) {} -static void BIF_undo(void) {} static void error(const char *UNUSED(arg)) {} -static int qtest(void) {return 0;} /* **** XXX ******** */ - -/* New LoopCut */ +#if 0 /* UNUSED 2.5 */ static void edgering_sel(EditMesh *em, EditEdge *startedge, int select, int previewlines) { EditEdge *eed; @@ -380,7 +376,7 @@ static void CutEdgeloop(Object *obedit, wmOperator *op, EditMesh *em, int numcut // DAG_id_tag_update(obedit->data, 0); return; } - +#endif /* *************** LOOP SELECT ************* */ #if 0 diff --git a/source/blender/editors/mesh/editmesh_mods.c b/source/blender/editors/mesh/editmesh_mods.c index 24e1a2c6c5e..6e27a81e3f0 100644 --- a/source/blender/editors/mesh/editmesh_mods.c +++ b/source/blender/editors/mesh/editmesh_mods.c @@ -1561,7 +1561,7 @@ static void EM_mesh_copy_face(EditMesh *em, wmOperator *op, short type) } -static void EM_mesh_copy_face_layer(EditMesh *em, wmOperator *op, short type) +void EM_mesh_copy_face_layer(EditMesh *em, wmOperator *op, short type) { short change=0; @@ -1731,7 +1731,6 @@ static void mesh_copy_menu(EditMesh *em, wmOperator *op) } } - /* **************** LOOP SELECTS *************** */ /* selects quads in loop direction of indicated edge */ @@ -4067,7 +4066,6 @@ void MESH_OT_normals_make_consistent(wmOperatorType *ot) /* ********** ALIGN WITH VIEW **************** */ - static void editmesh_calc_selvert_center(EditMesh *em, float cent_r[3]) { EditVert *eve; |