diff options
author | mano-wii <germano.costa@ig.com.br> | 2017-08-16 20:16:30 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2017-08-16 20:16:30 +0300 |
commit | 916b9b311ff3ccde1cb35e6426e8d7e865f343a7 (patch) | |
tree | cebb7ea2f6178b1e3fa8ad4aabb4e89244c0614a /source/blender/editors/include/ED_transform.h | |
parent | a773ac4bda8f3826bebd35f46ddac1a191624341 (diff) |
Transform: Move enum `SnapSelect` to `ED_transform_snap_object_context`
Diffstat (limited to 'source/blender/editors/include/ED_transform.h')
-rw-r--r-- | source/blender/editors/include/ED_transform.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/editors/include/ED_transform.h b/source/blender/editors/include/ED_transform.h index ebd2a3dcb7a..0ba95d7d208 100644 --- a/source/blender/editors/include/ED_transform.h +++ b/source/blender/editors/include/ED_transform.h @@ -159,12 +159,6 @@ void BIF_draw_manipulator(const struct bContext *C); /* Snapping */ -typedef enum SnapSelect { - SNAP_ALL = 0, - SNAP_NOT_SELECTED = 1, - SNAP_NOT_ACTIVE = 2, -} SnapSelect; - #define SNAP_MIN_DISTANCE 30 bool peelObjectsTransform( @@ -187,11 +181,7 @@ bool snapObjectsTransform( /* return args */ float r_loc[3], float r_no[3]); bool snapNodesTransform( - struct TransInfo *t, const int mval[2], SnapSelect snap_select, - /* return args */ - float r_loc[2], float *r_dist_px, char *r_node_border); -bool snapNodesContext( - struct bContext *C, const int mval[2], SnapSelect snap_select, + struct TransInfo *t, const int mval[2], /* return args */ float r_loc[2], float *r_dist_px, char *r_node_border); |