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:
authorCampbell Barton <ideasman42@gmail.com>2009-02-01 07:22:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-02-01 07:22:18 +0300
commitb3c3af21569644e523f445ba4c67d7f88f8011bc (patch)
tree45d4ef8c2db2f2faf56585844922e6f957b84b0e /source/blender/editors/mesh/mesh_intern.h
parentbeb22eccfb747e86651be659b2dbb15ccca179a8 (diff)
- Converted mesh face popup menu to use brecht's toolbox function (like the image view toolbox)
Rather then having a hard coded popup menu with events that call other operators exec functions, operator names are given to the toolbox where it displays the operator name and shortcut. This means the real operator is registered rather then the one that called it. Im not sure about the location for the operator though, at the moment its called VIEW3D_OT_editmesh_face_toolbox() in view3d_header.c since the image editor toolbox is in the header file too. In a way it makes sense because this menu should eventually be in the header. - Change shortcut to Ctrl+F as it is in 2.4x - Added a number of operators that were not being registered - MESH_OT_fill_mesh, beauty_fill, convert_quads_to_tris, convert_tris_to_quads, edge_flip, mesh_set_smooth_faces, mesh_set_solid_faces - Renamed redundant MESH_OT_mesh_set_smooth_faces() to MESH_OT_faces_shade_smooth(), same for solid.
Diffstat (limited to 'source/blender/editors/mesh/mesh_intern.h')
-rw-r--r--source/blender/editors/mesh/mesh_intern.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/mesh_intern.h b/source/blender/editors/mesh/mesh_intern.h
index 22593968401..22b7c67c13e 100644
--- a/source/blender/editors/mesh/mesh_intern.h
+++ b/source/blender/editors/mesh/mesh_intern.h
@@ -231,15 +231,14 @@ void MESH_OT_subdivide_multi_fractal(struct wmOperatorType *ot);
void MESH_OT_subdivide_smooth(struct wmOperatorType *ot);
void MESH_OT_removedoublesflag(struct wmOperatorType *ot);
void MESH_OT_extrude_mesh(struct wmOperatorType *ot);
-void MESH_OT_edit_faces(struct wmOperatorType *ot);
void MESH_OT_fill_mesh(struct wmOperatorType *ot);
void MESH_OT_beauty_fill(struct wmOperatorType *ot);
void MESH_OT_convert_quads_to_tris(struct wmOperatorType *ot);
void MESH_OT_convert_tris_to_quads(struct wmOperatorType *ot);
void MESH_OT_edge_flip(struct wmOperatorType *ot);
-void MESH_OT_mesh_set_smooth_faces(struct wmOperatorType *ot);
-void MESH_OT_mesh_set_solid_faces(struct wmOperatorType *ot);
+void MESH_OT_faces_shade_smooth(struct wmOperatorType *ot);
+void MESH_OT_faces_shade_solid(struct wmOperatorType *ot);
void MESH_OT_delete_mesh(struct wmOperatorType *ot);