diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-14 08:30:43 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-14 08:30:43 +0300 |
commit | f91b21f85bdc10c3ad31e9b3cacbd912bc6517c2 (patch) | |
tree | 5618d161ab6780ff60dffc98770bcbf790e0f00d /source/blender/editors/space_view3d | |
parent | a1d73d03eb91be72b0f10ff4a9c6eb00f04b97c6 (diff) |
Cleanup: move comments above definitions
For clang-format not to wrap definitions.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_fly.c | 6 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_walk.c | 9 |
2 files changed, 10 insertions, 5 deletions
diff --git a/source/blender/editors/space_view3d/view3d_fly.c b/source/blender/editors/space_view3d/view3d_fly.c index de5d5d29e52..b27de9d70c2 100644 --- a/source/blender/editors/space_view3d/view3d_fly.c +++ b/source/blender/editors/space_view3d/view3d_fly.c @@ -28,7 +28,8 @@ #ifdef WITH_INPUT_NDOF //# define NDOF_FLY_DEBUG -//# define NDOF_FLY_DRAW_TOOMUCH /* is this needed for ndof? - commented so redraw doesn't thrash - campbell */ +/* is this needed for ndof? - commented so redraw doesn't thrash - campbell */ +//# define NDOF_FLY_DRAW_TOOMUCH #endif /* WITH_INPUT_NDOF */ #include "DNA_object_types.h" @@ -62,7 +63,8 @@ #include "view3d_intern.h" /* own include */ -/* NOTE: these defines are saved in keymap files, do not change values but just add new ones */ +/* NOTE: these defines are saved in keymap files, + * do not change values but just add new ones */ enum { FLY_MODAL_CANCEL = 1, FLY_MODAL_CONFIRM, diff --git a/source/blender/editors/space_view3d/view3d_walk.c b/source/blender/editors/space_view3d/view3d_walk.c index a716264febb..c19a1965a56 100644 --- a/source/blender/editors/space_view3d/view3d_walk.c +++ b/source/blender/editors/space_view3d/view3d_walk.c @@ -65,7 +65,8 @@ #ifdef WITH_INPUT_NDOF //# define NDOF_WALK_DEBUG -//# define NDOF_WALK_DRAW_TOOMUCH /* is this needed for ndof? - commented so redraw doesn't thrash - campbell */ +/* is this needed for ndof? - commented so redraw doesn't thrash - campbell */ +//# define NDOF_WALK_DRAW_TOOMUCH #endif #define USE_TABLET_SUPPORT @@ -76,7 +77,8 @@ /* prototypes */ static float getVelocityZeroTime(const float gravity, const float velocity); -/* NOTE: these defines are saved in keymap files, do not change values but just add new ones */ +/* NOTE: these defines are saved in keymap files, + * do not change values but just add new ones */ enum { WALK_MODAL_CANCEL = 1, WALK_MODAL_CONFIRM, @@ -1378,7 +1380,8 @@ static int walk_modal(bContext *C, wmOperator *op, const wmEvent *event) WM_event_add_notifier(C, NC_OBJECT | ND_TRANSFORM, walk_object); } - // puts("redraw!"); // too frequent, commented with NDOF_WALK_DRAW_TOOMUCH for now + // too frequent, commented with NDOF_WALK_DRAW_TOOMUCH for now + // puts("redraw!"); ED_region_tag_redraw(CTX_wm_region(C)); } |