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:
authorSybren A. Stüvel <sybren@blender.org>2019-09-24 17:14:35 +0300
committerSybren A. Stüvel <sybren@blender.org>2019-09-24 19:22:46 +0300
commit9dced206dd52d743625f39354ca9ce07f7e05563 (patch)
treee39b0fdf65fe3787bcad0bbb42c86638147bcd59 /source/blender/editors/space_graph/graph_draw.c
parentc6995b309527835fac3b720c62b6db21ffd7a047 (diff)
Cleanup: removed 7-year-old commented-out code marked 'for now'
Diffstat (limited to 'source/blender/editors/space_graph/graph_draw.c')
-rw-r--r--source/blender/editors/space_graph/graph_draw.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/space_graph/graph_draw.c b/source/blender/editors/space_graph/graph_draw.c
index c94f1f1d79f..42a1566629a 100644
--- a/source/blender/editors/space_graph/graph_draw.c
+++ b/source/blender/editors/space_graph/graph_draw.c
@@ -879,10 +879,6 @@ static void graph_draw_driver_debug(bAnimContext *ac, ID *id, FCurve *fcu)
float offset;
float unitfac = ANIM_unit_mapping_get_factor(ac->scene, id, fcu, mapping_flag, &offset);
- /* for now, only show when debugging driver... */
- // if ((driver->flag & DRIVER_FLAG_SHOWDEBUG) == 0)
- // return;
-
const uint shdr_pos = GPU_vertformat_attr_add(
immVertexFormat(), "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT);
immBindBuiltinProgram(GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR);