Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-05-07 20:38:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-07 22:40:51 +0300
commit170223804bee3ee2a3fe373ac858d36fe2361570 (patch)
tree5410bed091eab45ec3aff6a2ed4414167f31ba08 /source/blender/editors/include/ED_transform.h
parent036eb6f2f8150afe290edde5d46121aac933116f (diff)
Extrude Widget: orient correctly w/ rotated object
Diffstat (limited to 'source/blender/editors/include/ED_transform.h')
-rw-r--r--source/blender/editors/include/ED_transform.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h
index 601315e6124..23cc55a239a 100644
--- a/source/blender/editors/include/ED_transform.h
+++ b/source/blender/editors/include/ED_transform.h
@@ -203,8 +203,13 @@ struct TransformBounds {
float axis_min[3], axis_max[3];
};
+struct TransformCalcParams {
+ uint use_only_center : 1;
+ uint use_local_axis : 1;
+};
int ED_transform_calc_manipulator_stats(
- const struct bContext *C, bool use_only_center,
+ const struct bContext *C,
+ const struct TransformCalcParams *params,
struct TransformBounds *tbounds);
#endif /* __ED_TRANSFORM_H__ */