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-03 08:21:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-03 08:21:06 +0300
commit7840c593b83e895b44053efb51c0bde2eda6cbb8 (patch)
tree99931d55fe25879825a572823f1b434447802b01 /source/blender/editors/include
parent51aba69b89372f13ace4a278d9a23999dfd755d9 (diff)
Cleanup: remove axis bounds ifdef
This was added for scale-cage manipulator, but seems generally useful.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_transform.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h
index a974b6cfe9e..601315e6124 100644
--- a/source/blender/editors/include/ED_transform.h
+++ b/source/blender/editors/include/ED_transform.h
@@ -194,18 +194,13 @@ bool snapNodesTransform(
/* return args */
float r_loc[2], float *r_dist_px, char *r_node_border);
-
-#define USE_AXIS_BOUNDS
-
struct TransformBounds {
float center[3]; /* Center for transform widget. */
float min[3], max[3]; /* Boundbox of selection for transform widget. */
-#ifdef USE_AXIS_BOUNDS
/* Normalized axis */
float axis[3][3];
float axis_min[3], axis_max[3];
-#endif
};
int ED_transform_calc_manipulator_stats(