[Bf-committers] G.editBMesh

Campbell Barton ideasman42 at gmail.com
Sat Apr 12 21:02:47 CEST 2008


should this be in the global struct?

1       ./source/blender/src/transform_conversions.c:3751:
 createTransBMeshVerts(t, G.editBMesh->bm, G.editBMesh->td);
2       ./source/blender/src/transform.c:3354:  if
(G.editBMesh->imval[0] == 0 && G.editBMesh->imval[1] == 0) {
3       ./source/blender/src/transform.c:3356:
G.editBMesh->imval[0] = t->imval[0];
4       ./source/blender/src/transform.c:3357:
G.editBMesh->imval[1] = t->imval[1];
5       ./source/blender/src/transform.c:3361:          t->imval[0] =
G.editBMesh->imval[0];
6       ./source/blender/src/transform.c:3362:          t->imval[1] =
G.editBMesh->imval[1];
7       ./source/blender/src/transform.c:3371:
G.editBMesh->options ^= BME_BEVEL_VERT;
8       ./source/blender/src/transform.c:3375:          //
G.editBMesh->options ^= BME_BEVEL_RES;
9       ./source/blender/src/transform.c:3376:          //
G.editBMesh->res += 1;
10      ./source/blender/src/transform.c:3377:          //      if
(G.editBMesh->res > 4) {
11      ./source/blender/src/transform.c:3378:          //
 G.editBMesh->res = 4;
12      ./source/blender/src/transform.c:3383:          //
G.editBMesh->options ^= BME_BEVEL_RES;
13      ./source/blender/src/transform.c:3384:          //
G.editBMesh->res -= 1;
14      ./source/blender/src/transform.c:3385:          //      if
(G.editBMesh->res < 0) {
15      ./source/blender/src/transform.c:3386:          //
 G.editBMesh->res = 0;
16      ./source/blender/src/transform.c:3405:  mode =
(G.editBMesh->options & BME_BEVEL_VERT) ? "verts only" : "normal";
17      ./source/blender/src/editmesh_tools.c:4492:     if (!G.editBMesh) {
18      ./source/blender/src/editmesh_tools.c:4493:
G.editBMesh = MEM_callocN(sizeof(*(G.editBMesh)),"bevel_menu()
G.editBMesh");
19      ./source/blender/src/editmesh_tools.c:4497:
G.editBMesh->options = BME_BEVEL_RUNNING | BME_BEVEL_SELECT;
20      ./source/blender/src/editmesh_tools.c:4498:     G.editBMesh->res = 1;
21      ./source/blender/src/editmesh_tools.c:4500:
while(G.editBMesh->options & BME_BEVEL_RUNNING) {
22      ./source/blender/src/editmesh_tools.c:4501:
options = G.editBMesh->options;
23      ./source/blender/src/editmesh_tools.c:4502:             res =
G.editBMesh->res;
24      ./source/blender/src/editmesh_tools.c:4510:
G.editBMesh->bm = bm;
25      ./source/blender/src/editmesh_tools.c:4511:
G.editBMesh->td = td;
26      ./source/blender/src/editmesh_tools.c:4519:             if
(options == G.editBMesh->options) {
27      ./source/blender/src/editmesh_tools.c:4520:
 G.editBMesh->options &= ~BME_BEVEL_RUNNING;
28      ./source/blender/src/editmesh_tools.c:4525:
MEM_freeN(G.editBMesh);
29      ./source/blender/src/editmesh_tools.c:4526:
G.editBMesh = NULL;
30      ./source/blender/blenkernel/BKE_global.h:117:   struct
BME_Glob *editBMesh;


More information about the Bf-committers mailing list