diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-07-19 06:26:01 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-07-19 06:26:01 +0400 |
commit | 880c3756e96c4ffcd9238abd3ae9f49415d270a9 (patch) | |
tree | fee5a0dbcefba653191aea83061e55bb3c87c548 /source/blender/editors/include/ED_armature.h | |
parent | 036c0012e613d4874fd29fa9f16f76f4be2b9f9c (diff) |
Store sketch in armature instead of ugly global.
Like edit data, this isn't saved, just a temp pointer used during work session.
Also bring back sketching panel for 3d view.
Diffstat (limited to 'source/blender/editors/include/ED_armature.h')
-rw-r--r-- | source/blender/editors/include/ED_armature.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_armature.h b/source/blender/editors/include/ED_armature.h index d699b0d46b2..8c19f2c3ecf 100644 --- a/source/blender/editors/include/ED_armature.h +++ b/source/blender/editors/include/ED_armature.h @@ -40,6 +40,7 @@ struct ListBase; struct View3D; struct ViewContext; struct RegionView3D; +struct SK_Sketch; typedef struct EditBone { @@ -132,7 +133,9 @@ int ED_operator_sketch_mode_active_stroke(struct bContext *C); int ED_operator_sketch_full_mode(struct bContext *C); int ED_operator_sketch_mode(const struct bContext *C); -void BIF_freeSketch(struct bContext *C); +void ED_freeSketch(struct SK_Sketch *sketch); +struct SK_Sketch* ED_createSketch(); + void BIF_convertSketch(struct bContext *C); void BIF_deleteSketch(struct bContext *C); void BIF_selectAllSketch(struct bContext *C, int mode); /* -1: deselect, 0: select, 1: toggle */ |