Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / editors / include / ED_mesh.h
index a2dba89..696e8f8 100644 (file)
@@ -118,6 +118,7 @@ void                EM_select_face(struct EditFace *efa, int sel);
 void           EM_select_face_fgon(struct EditMesh *em, struct EditFace *efa, int val);
 void           EM_select_swap(struct EditMesh *em);
 void           EM_toggle_select_all(struct EditMesh *em);
+void EM_select_all(struct EditMesh *em);
 void           EM_selectmode_flush(struct EditMesh *em);
 void           EM_deselect_flush(struct EditMesh *em);
 void           EM_selectmode_set(struct EditMesh *em);
@@ -154,26 +155,31 @@ void              EM_reveal_mesh(struct EditMesh *em);
 void           EM_select_by_material(struct EditMesh *em, int index);
 void           EM_deselect_by_material(struct EditMesh *em, int index); 
 
+/* editmesh_tools.c */
+void convert_to_triface(struct EditMesh *em, int direction);
+
 /* editface.c */
 struct MTFace  *EM_get_active_mtface(struct EditMesh *em, struct EditFace **act_efa, struct MCol **mcol, int sloppy);
 
-/* object_vgroup.c */
+/* editdeform.c XXX rename functions? */
 
 #define WEIGHT_REPLACE 1
 #define WEIGHT_ADD 2
 #define WEIGHT_SUBTRACT 3
 
-struct bDeformGroup            *ED_vgroup_add(struct Object *ob);
-struct bDeformGroup            *ED_vgroup_add_name(struct Object *ob, char *name);
-void                                   ED_vgroup_select_by_name(struct Object *ob, char *name);
-void                                   ED_vgroup_data_create(struct ID *id);
+void           add_defgroup (Object *ob);
+void           create_dverts(struct ID *id);
+float          get_vert_defgroup (Object *ob, struct bDeformGroup *dg, int vertnum);
+void           remove_vert_defgroup (Object *ob, struct bDeformGroup *dg, int vertnum);
+void           remove_verts_defgroup (Object *obedit, int allverts);
+void           vertexgroup_select_by_name(Object *ob, char *name);
+void           add_vert_to_defgroup (Object *ob, struct bDeformGroup *dg, int vertnum, 
+                           float weight, int assignmode);
 
-void           ED_vgroup_vert_add(struct Object *ob, struct bDeformGroup *dg, int vertnum,  float weight, int assignmode);
-void           ED_vgroup_vert_remove(struct Object *ob, struct bDeformGroup *dg, int vertnum);
-float          ED_vgroup_vert_weight(struct Object *ob, struct bDeformGroup *dg, int vertnum);
+struct bDeformGroup            *add_defgroup_name (Object *ob, char *name);
+struct MDeformWeight   *verify_defweight (struct MDeformVert *dv, int defgroup);
+struct MDeformWeight   *get_defweight (struct MDeformVert *dv, int defgroup);
 
-struct MDeformWeight   *ED_vgroup_weight_verify(struct MDeformVert *dv, int defgroup);
-struct MDeformWeight   *ED_vgroup_weight_get(struct MDeformVert *dv, int defgroup);
 
 #endif /* ED_MESH_H */