diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-11-25 00:49:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-11-25 02:40:52 +0400 |
commit | 4a6802b00b38ca03f6f8d75e5b2a786b4a3c1a16 (patch) | |
tree | 04578b08c3b29a1c6535278a8f57003152ca0b87 /source/blender/editors/include/ED_transform.h | |
parent | cbb5a12eb71e28aeeba594d480e46f179bb955cf (diff) |
Transform: internal changes for orientations calculations.
- use (const char *) for the 'name'
- use bool where possible.
- remove unused return value for initTransInfo
Diffstat (limited to 'source/blender/editors/include/ED_transform.h')
-rw-r--r-- | source/blender/editors/include/ED_transform.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h index dde1aa30a26..6e5c2aa6a6d 100644 --- a/source/blender/editors/include/ED_transform.h +++ b/source/blender/editors/include/ED_transform.h @@ -121,8 +121,9 @@ struct ReportList; void BIF_clearTransformOrientation(struct bContext *C); void BIF_removeTransformOrientation(struct bContext *C, struct TransformOrientation *ts); void BIF_removeTransformOrientationIndex(struct bContext *C, int index); -void BIF_createTransformOrientation(struct bContext *C, struct ReportList *reports, char *name, int use_view, - int use, int overwrite); +void BIF_createTransformOrientation(struct bContext *C, struct ReportList *reports, + const char *name, const bool use_view, + const bool activate, const bool overwrite); void BIF_selectTransformOrientation(struct bContext *C, struct TransformOrientation *ts); void BIF_selectTransformOrientationValue(struct bContext *C, int orientation); |