[Bf-blender-cvs] [9dced206dd5] master: Cleanup: removed 7-year-old commented-out code marked 'for now'

Sybren A. Stüvel noreply at git.blender.org
Tue Sep 24 18:25:52 CEST 2019


Commit: 9dced206dd52d743625f39354ca9ce07f7e05563
Author: Sybren A. Stüvel
Date:   Tue Sep 24 16:14:35 2019 +0200
Branches: master
https://developer.blender.org/rB9dced206dd52d743625f39354ca9ce07f7e05563

Cleanup: removed 7-year-old commented-out code marked 'for now'

===================================================================

M	source/blender/editors/space_graph/graph_draw.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list