Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2022-04-25 19:15:14 +0300
committerJulian Eisel <julian@blender.org>2022-04-25 19:15:14 +0300
commit845e2ed3a282913cd9d37207a313627275acc158 (patch)
treeb2d34486708e4d33fccc9c1e4d83bd1097b9d37f /source/blender/editors/include/UI_view2d.h
parente99cb91530f37a2b026a6280112e627d7764d0bf (diff)
Cleanup: Use const for smoot scrolling function
Diffstat (limited to 'source/blender/editors/include/UI_view2d.h')
-rw-r--r--source/blender/editors/include/UI_view2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/UI_view2d.h b/source/blender/editors/include/UI_view2d.h
index 47c554f84e0..23dbd3ed36f 100644
--- a/source/blender/editors/include/UI_view2d.h
+++ b/source/blender/editors/include/UI_view2d.h
@@ -416,7 +416,7 @@ void ED_keymap_view2d(struct wmKeyConfig *keyconf);
* Will start timer if appropriate.
* the arguments are the desired situation.
*/
-void UI_view2d_smooth_view(struct bContext *C,
+void UI_view2d_smooth_view(const struct bContext *C,
struct ARegion *region,
const struct rctf *cur,
int smooth_viewtx);