diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-09-19 07:32:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-09-19 07:34:32 +0300 |
commit | 17a2820da8ad8ea23d336129f32e060e5746b047 (patch) | |
tree | 21f965c6f2d15a53fc67cd6dcad1a3a2a09df833 /source/blender/draw/engines/gpencil | |
parent | a78130c6101517c09eed14215087ab3dfe36bc5c (diff) |
Cleanup: consistent TODO/FIXME formatting for names
Following the most widely used convention for including todo's in
the code, that is: `TODO(name):`, `FIXME(name)` ... etc.
Diffstat (limited to 'source/blender/draw/engines/gpencil')
3 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_cache_utils.c b/source/blender/draw/engines/gpencil/gpencil_cache_utils.c index c4997dace7e..948255b3852 100644 --- a/source/blender/draw/engines/gpencil/gpencil_cache_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_cache_utils.c @@ -299,7 +299,7 @@ GPENCIL_tLayer *gpencil_layer_cache_add(GPENCIL_PrivateData *pd, if (is_masked) { bool valid_mask = false; /* Warning: only GP_MAX_MASKBITS amount of bits. - * TODO(fclem) Find a better system without any limitation. */ + * TODO(fclem): Find a better system without any limitation. */ tgp_layer->mask_bits = BLI_memblock_alloc(pd->gp_maskbit_pool); tgp_layer->mask_invert_bits = BLI_memblock_alloc(pd->gp_maskbit_pool); BLI_bitmap_set_all(tgp_layer->mask_bits, false, GP_MAX_MASKBITS); diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_data.c b/source/blender/draw/engines/gpencil/gpencil_draw_data.c index 89e47f88eec..52b41726276 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_data.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_data.c @@ -428,7 +428,7 @@ GPENCIL_LightPool *gpencil_light_pool_create(GPENCIL_PrivateData *pd, Object *UN if (lightpool == NULL) { lightpool = gpencil_light_pool_add(pd); } - /* TODO(fclem) Light linking. */ + /* TODO(fclem): Light linking. */ // gpencil_light_pool_populate(lightpool, ob); return lightpool; diff --git a/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl b/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl index 8cf457ee4dd..31e6df80d23 100644 --- a/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl +++ b/source/blender/draw/engines/gpencil/shaders/gpencil_frag.glsl @@ -115,7 +115,7 @@ void main() discard; } - /* FIXME(fclem) Grrr. This is bad for performance but it's the easiest way to not get + /* FIXME(fclem): Grrr. This is bad for performance but it's the easiest way to not get * depth written where the mask obliterate the layer. */ float mask = texture(gpMaskTexture, uvs).r; if (mask < 0.001) { |