diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2022-03-28 19:49:31 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-03-28 19:55:13 +0300 |
commit | 854af0cd09f194fadb688e899916cdc91e931623 (patch) | |
tree | a21b361c8d7680842c52c5f28c445a06ae641539 /source/blender/editors/include | |
parent | 39df927b4a7617e8ec7668d1ddfc878c43642599 (diff) |
Cleanup/Refactor: remove unused 'SNAP_ONLY_ACTIVE' enum parameter
`SNAP_ONLY_ACTIVE` was implemented in order to be used in the Knife tool,
but the project did not go ahead.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_transform_snap_object_context.h | 3 | ||||
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/editors/include/ED_transform_snap_object_context.h b/source/blender/editors/include/ED_transform_snap_object_context.h index 16ec1221eea..a8a11cd7dda 100644 --- a/source/blender/editors/include/ED_transform_snap_object_context.h +++ b/source/blender/editors/include/ED_transform_snap_object_context.h @@ -30,8 +30,7 @@ typedef enum { SNAP_NOT_SELECTED = 1, SNAP_NOT_ACTIVE = 2, SNAP_NOT_EDITED = 3, - SNAP_ONLY_ACTIVE = 4, - SNAP_SELECTABLE = 5, + SNAP_SELECTABLE = 4, } eSnapSelect; typedef enum { diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index d2ff5637a13..53591e02f71 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -273,9 +273,8 @@ typedef enum { V3D_SNAPCURSOR_TOGGLE_ALWAYS_TRUE = 1 << 0, V3D_SNAPCURSOR_OCCLUSION_ALWAYS_TRUE = 1 << 1, V3D_SNAPCURSOR_OCCLUSION_ALWAYS_FALSE = 1 << 2, /* TODO. */ - V3D_SNAPCURSOR_SNAP_ONLY_ACTIVE = 1 << 3, - V3D_SNAPCURSOR_SNAP_EDIT_GEOM_FINAL = 1 << 4, - V3D_SNAPCURSOR_SNAP_EDIT_GEOM_CAGE = 1 << 5, + V3D_SNAPCURSOR_SNAP_EDIT_GEOM_FINAL = 1 << 3, + V3D_SNAPCURSOR_SNAP_EDIT_GEOM_CAGE = 1 << 4, } eV3DSnapCursor; typedef enum { |