diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-11 13:39:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-11 13:39:56 +0300 |
commit | 8b2072868d5057bf9a3da52b8d27d13b11c8ae18 (patch) | |
tree | 5937c0d55d6ba9c41b5c2bc1f70de21535607717 /source/blender/draw/engines | |
parent | 796683db8edb98adf2165fed458d08454cb7c977 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_cache_utils.c | 2 | ||||
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_draw_data.c | 2 | ||||
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_engine.c | 2 |
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 743171b09fb..3459685f504 100644 --- a/source/blender/draw/engines/gpencil/gpencil_cache_utils.c +++ b/source/blender/draw/engines/gpencil/gpencil_cache_utils.c @@ -61,7 +61,7 @@ GPENCIL_tObject *gpencil_object_cache_add(GPENCIL_PrivateData *pd, Object *ob) /* TODO: This does not work quite well if you use * strokes not aligned with the object axes. Maybe we could try to * compute the minimum axis of all strokes. But this would be more - * computationaly heavy and should go into the GPData evaluation. */ + * computationally heavy and should go into the GPData evaluation. */ BoundBox *bbox = BKE_object_boundbox_get(ob); /* Convert bbox to matrix */ float mat[4][4], size[3], center[3]; diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_data.c b/source/blender/draw/engines/gpencil/gpencil_draw_data.c index 77baadfc83a..625af8cec6f 100644 --- a/source/blender/draw/engines/gpencil/gpencil_draw_data.c +++ b/source/blender/draw/engines/gpencil/gpencil_draw_data.c @@ -108,7 +108,7 @@ static void gpencil_object_random_color_get(const Object *ob, float r_color[3]) static void gpencil_shade_color(float color[3]) { - /* This is scene refered color, not gamma corrected and not per perceptual. + /* This is scene refereed color, not gamma corrected and not per perceptual. * So we lower the threshold a bit. (1.0 / 3.0) */ if (color[0] + color[1] + color[2] > 1.1) { add_v3_fl(color, -0.25f); diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c b/source/blender/draw/engines/gpencil/gpencil_engine.c index d47d6f8a836..37aef5a633a 100644 --- a/source/blender/draw/engines/gpencil/gpencil_engine.c +++ b/source/blender/draw/engines/gpencil/gpencil_engine.c @@ -710,7 +710,7 @@ void GPENCIL_cache_finish(void *ved) if (pd->use_mask_fb) { /* We need an extra depth to not disturb the normal drawing. - * The color_tx is needed for framebuffer cmpleteness. */ + * The color_tx is needed for frame-buffer completeness. */ GPUTexture *color_tx, *depth_tx; depth_tx = DRW_texture_pool_query_2d( size[0], size[1], GPU_DEPTH24_STENCIL8, &draw_engine_gpencil_type); |