diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/editors/gizmo_library/gizmo_types/blank3d_gizmo.c | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'source/blender/editors/gizmo_library/gizmo_types/blank3d_gizmo.c')
-rw-r--r-- | source/blender/editors/gizmo_library/gizmo_types/blank3d_gizmo.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/source/blender/editors/gizmo_library/gizmo_types/blank3d_gizmo.c b/source/blender/editors/gizmo_library/gizmo_types/blank3d_gizmo.c index 55054d1b4ad..e36ab0a0610 100644 --- a/source/blender/editors/gizmo_library/gizmo_types/blank3d_gizmo.c +++ b/source/blender/editors/gizmo_library/gizmo_types/blank3d_gizmo.c @@ -25,7 +25,6 @@ * \brief Gizmo to use as a fallback (catch events). */ - #include "BKE_context.h" #include "ED_view3d.h" @@ -38,22 +37,23 @@ #include "../gizmo_geometry.h" #include "../gizmo_library_intern.h" - static void gizmo_blank_draw(const bContext *UNUSED(C), wmGizmo *UNUSED(gz)) { - /* pass */ + /* pass */ } -static int gizmo_blank_invoke( - bContext *UNUSED(C), wmGizmo *UNUSED(gz), const wmEvent *UNUSED(event)) +static int gizmo_blank_invoke(bContext *UNUSED(C), + wmGizmo *UNUSED(gz), + const wmEvent *UNUSED(event)) { - return OPERATOR_RUNNING_MODAL; + return OPERATOR_RUNNING_MODAL; } -static int gizmo_blank_test_select( - bContext *UNUSED(C), wmGizmo *UNUSED(gz), const int UNUSED(mval[2])) +static int gizmo_blank_test_select(bContext *UNUSED(C), + wmGizmo *UNUSED(gz), + const int UNUSED(mval[2])) { - return 0; + return 0; } /* -------------------------------------------------------------------- */ @@ -63,20 +63,20 @@ static int gizmo_blank_test_select( static void GIZMO_GT_blank_3d(wmGizmoType *gzt) { - /* identifiers */ - gzt->idname = "GIZMO_GT_blank_3d"; + /* identifiers */ + gzt->idname = "GIZMO_GT_blank_3d"; - /* api callbacks */ - gzt->draw = gizmo_blank_draw; - gzt->invoke = gizmo_blank_invoke; - gzt->test_select = gizmo_blank_test_select; + /* api callbacks */ + gzt->draw = gizmo_blank_draw; + gzt->invoke = gizmo_blank_invoke; + gzt->test_select = gizmo_blank_test_select; - gzt->struct_size = sizeof(wmGizmo); + gzt->struct_size = sizeof(wmGizmo); } void ED_gizmotypes_blank_3d(void) { - WM_gizmotype_append(GIZMO_GT_blank_3d); + WM_gizmotype_append(GIZMO_GT_blank_3d); } /** \} */ |