Blender Git Loki

Git Commits -> Revision b3c3af2

Revision b3c3af2 by Campbell Barton (master)
February 1, 2009, 04:22 (GMT)
- 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.

Commit Details:

Full Hash: b3c3af21569644e523f445ba4c67d7f88f8011bc
SVN Revision: 18777
Parent Commit: beb22ec
Lines Changed: +58, -90

6 Modified Paths:

/source/blender/editors/mesh/editmesh_tools.c (+10, -85) (Diff)
/source/blender/editors/mesh/mesh_intern.h (+2, -3) (Diff)
/source/blender/editors/mesh/mesh_ops.c (+14, -2) (Diff)
/source/blender/editors/space_view3d/view3d_header.c (+30, -0) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+1, -0) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021