diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-27 06:14:11 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2020-05-27 06:14:11 +0300 |
commit | 2e73e1390e3a87d16fc4016d629253c1228af255 (patch) | |
tree | 3df4857e735ea7bb8bacbf918eaf540e497d8b50 /source/blender/editors/gizmo_library/CMakeLists.txt | |
parent | 7ed7901c00867a951bd2bb0e179d7b087cd68d9d (diff) |
Gizmo Library: New Snap Gizmo
Generic snap gizmo to be used for different tools.
The Gizmo can be configured initially by the following properties:
- `"snap_elements_force"`, `"prev_point"`
The following properties can be read as return:
- `"location"`, `"normal"`, `"snap_elem_index"`
This property can be linked to another (tool_setting.snap_elements):
- `"snap_elements"`
And this 3 extra utilities have been added:
- `ED_gizmotypes_snap_3d_draw_util`,
- `ED_gizmotypes_snap_3d_context_get`,
- `ED_gizmotypes_snap_3d_update`.
Differential Revision: https://developer.blender.org/D7071
Diffstat (limited to 'source/blender/editors/gizmo_library/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/gizmo_library/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/gizmo_library/CMakeLists.txt b/source/blender/editors/gizmo_library/CMakeLists.txt index 68a204c04a7..1f3edf31b19 100644 --- a/source/blender/editors/gizmo_library/CMakeLists.txt +++ b/source/blender/editors/gizmo_library/CMakeLists.txt @@ -53,6 +53,7 @@ set(SRC gizmo_types/dial3d_gizmo.c gizmo_types/move3d_gizmo.c gizmo_types/primitive3d_gizmo.c + gizmo_types/snap3d_gizmo.c ) set(LIB |