~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/bmesh/intern/bmesh_operators.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        SUBDIV_SELECT_LOOPCUT
47
47
};
48
48
 
 
49
enum {
 
50
        SIM_CMP_EQ = 0,
 
51
        SIM_CMP_GT,
 
52
        SIM_CMP_LT
 
53
};
 
54
 
49
55
/* similar face selection slot values */
50
56
enum {
51
57
        SIMFACE_MATERIAL = 201,
52
58
        SIMFACE_IMAGE,
53
59
        SIMFACE_AREA,
 
60
        SIMFACE_SIDES,
54
61
        SIMFACE_PERIMETER,
55
62
        SIMFACE_NORMAL,
56
63
        SIMFACE_COPLANAR
63
70
        SIMEDGE_FACE,
64
71
        SIMEDGE_FACE_ANGLE,
65
72
        SIMEDGE_CREASE,
 
73
        SIMEDGE_BEVEL,
66
74
        SIMEDGE_SEAM,
67
75
        SIMEDGE_SHARP
68
76
};
71
79
enum {
72
80
        SIMVERT_NORMAL = 0,
73
81
        SIMVERT_FACE,
74
 
        SIMVERT_VGROUP
75
 
};
76
 
 
77
 
enum {
78
 
        OPUVC_AXIS_X = 1,
79
 
        OPUVC_AXIS_Y
80
 
};
81
 
 
82
 
enum {
83
 
        DIRECTION_CW = 1,
84
 
        DIRECTION_CCW
 
82
        SIMVERT_VGROUP,
 
83
        SIMVERT_EDGE
85
84
};
86
85
 
87
86
/* vertex path selection values */
90
89
        VPATH_SELECT_TOPOLOGICAL
91
90
};
92
91
 
93
 
extern BMOpDefine *opdefines[];
94
 
extern int bmesh_total_ops;
 
92
extern const BMOpDefine *bmo_opdefines[];
 
93
extern const int         bmo_opdefines_total;
95
94
 
96
95
/*------specific operator helper functions-------*/
97
 
 
98
 
struct Object;
99
 
 
100
96
void BM_mesh_esubdivide(BMesh *bm, const char edge_hflag,
101
97
                        float smooth, float fractal, float along_normal,
102
98
                        int numcuts,
103
99
                        int seltype, int cornertype,
104
 
                        const short use_singleedge, const short use_gridfill,
 
100
                        const short use_single_edge, const short use_grid_fill,
 
101
                        const short use_only_quads,
105
102
                        int seed);
106
103
 
107
104
#include "intern/bmesh_operator_api_inline.h"