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:
authorCampbell Barton <ideasman42@gmail.com>2019-06-04 03:53:12 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-04 04:05:32 +0300
commit271ec9ff53e7ace452bba0a0aa6000eb5b7a7307 (patch)
tree2a292d06fb4d0b461fcd8c2d0a5866ea571e21ea /source/blender/editors/space_action/action_draw.c
parentc13e10a7404ddae1d2ab9dc3d421ad18e8cb01ac (diff)
Cleanup: rename 2D scroll defines
- Use `V2D_SCROLL_` prefix. - Use more descriptive names.
Diffstat (limited to 'source/blender/editors/space_action/action_draw.c')
-rw-r--r--source/blender/editors/space_action/action_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_action/action_draw.c b/source/blender/editors/space_action/action_draw.c
index f32207fe08b..a7b6f399187 100644
--- a/source/blender/editors/space_action/action_draw.c
+++ b/source/blender/editors/space_action/action_draw.c
@@ -411,7 +411,7 @@ void timeline_draw_cache(SpaceAction *saction, Object *ob, Scene *scene)
}
GPU_matrix_push();
- GPU_matrix_translate_2f(0.0, (float)V2D_SCROLL_HEIGHT_HANDLES + yoffs);
+ GPU_matrix_translate_2f(0.0, (float)V2D_SCROLL_HANDLE_HEIGHT + yoffs);
GPU_matrix_scale_2f(1.0, cache_draw_height);
switch (pid->type) {