Commit: a0d7d3187bc511a3e55f2403a08d37c8ccb34cbe
Author: Antonioya
Date:   Thu Nov 22 10:43:44 2018 +0100
Branches: blender2.8
https://developer.blender.org/rBa0d7d3187bc511a3e55f2403a08d37c8ccb34cbe

GP: Cleanup old TODO comments

These ToDo were ported when 2.7x code was ported to 2.8, but now they are not 
needed.

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

M       source/blender/editors/gpencil/annotate_draw.c

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

diff --git a/source/blender/editors/gpencil/annotate_draw.c 
b/source/blender/editors/gpencil/annotate_draw.c
index 1a51875af9e..c83015675a0 100644
--- a/source/blender/editors/gpencil/annotate_draw.c
+++ b/source/blender/editors/gpencil/annotate_draw.c
@@ -134,7 +134,6 @@ static void gp_draw_stroke_buffer(
                immBindBuiltinProgram(GPU_SHADER_2D_UNIFORM_COLOR);
                immUniformColor3fvAlpha(ink, ink[3]);
 
-               /* TODO: implement this with a geometry shader to draw one 
continuous tapered stroke */
                immBeginAtMost(GPU_PRIM_LINE_STRIP, totpoints);
 
                for (int i = 0; i < totpoints; i++, pt++) {
@@ -263,8 +262,6 @@ static void gp_draw_stroke_3d(
        immBindBuiltinProgram(GPU_SHADER_3D_UNIFORM_COLOR);
        immUniformColor3fvAlpha(ink, ink[3]);
 
-       /* TODO: implement this with a geometry shader to draw one continuous 
tapered stroke */
-
        /* draw stroke curve */
        GPU_line_width(max_ff(curpressure * thickness, 1.0f));
        immBeginAtMost(GPU_PRIM_LINE_STRIP, totpoints + cyclic_add);
@@ -337,8 +334,6 @@ static void gp_draw_stroke_2d(
                scalefac = 0.001f;
        }
 
-       /* TODO: fancy++ with the magic of shaders */
-
        /* tessellation code - draw stroke as series of connected quads 
(triangle strips in fact) with connection
         * edges rotated to minimize shrinking artifacts, and rounded endcaps
         */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to