diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-03-22 03:30:18 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-03-22 03:30:18 +0300 |
commit | b995f4329a65278a229a32674ed2083ee04310a3 (patch) | |
tree | d56a73903a6d08f544745d18a9c277061a228db5 /source/blender/editors/armature/BIF_generate.h | |
parent | 935f10dc45e482061f1af230d3f9a9f878000379 (diff) |
First part of operatorizing etch-a-ton in 2.5
Polyline, selection and a couple of others work. (note that polyline is shift-click because click is taken by 3d cursor. Needs a way to overwrite lower maps).
Diffstat (limited to 'source/blender/editors/armature/BIF_generate.h')
-rw-r--r-- | source/blender/editors/armature/BIF_generate.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/armature/BIF_generate.h b/source/blender/editors/armature/BIF_generate.h index 8d561d2826b..bc655a4cdff 100644 --- a/source/blender/editors/armature/BIF_generate.h +++ b/source/blender/editors/armature/BIF_generate.h @@ -23,21 +23,21 @@ #ifndef BIF_GENERATE_H #define BIF_GENERATE_H -struct bContext; +struct ToolSettings; struct EditBone; struct BArcIterator; struct bArmature; struct ListBase; -typedef int(NextSubdivisionFunc)(struct bContext*, struct BArcIterator*, int, int, float[3], float[3]); +typedef int(NextSubdivisionFunc)(struct ToolSettings*, struct BArcIterator*, int, int, float[3], float[3]); float calcArcCorrelation(struct BArcIterator *iter, int start, int end, float v0[3], float n[3]); -int nextFixedSubdivision(struct bContext *C, struct BArcIterator *iter, int start, int end, float head[3], float p[3]); -int nextLengthSubdivision(struct bContext *C, struct BArcIterator *iter, int start, int end, float head[3], float p[3]); -int nextAdaptativeSubdivision(struct bContext *C, struct BArcIterator *iter, int start, int end, float head[3], float p[3]); +int nextFixedSubdivision(struct ToolSettings *toolsettings, struct BArcIterator *iter, int start, int end, float head[3], float p[3]); +int nextLengthSubdivision(struct ToolSettings *toolsettings, struct BArcIterator *iter, int start, int end, float head[3], float p[3]); +int nextAdaptativeSubdivision(struct ToolSettings *toolsettings, struct BArcIterator *iter, int start, int end, float head[3], float p[3]); -struct EditBone * subdivideArcBy(struct bContext *C, struct bArmature *arm, ListBase *editbones, struct BArcIterator *iter, float invmat[][4], float tmat[][3], NextSubdivisionFunc next_subdividion); +struct EditBone * subdivideArcBy(struct ToolSettings *toolsettings, struct bArmature *arm, ListBase *editbones, struct BArcIterator *iter, float invmat[][4], float tmat[][3], NextSubdivisionFunc next_subdividion); void setBoneRollFromNormal(struct EditBone *bone, float *no, float invmat[][4], float tmat[][3]); |