diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-14 07:34:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-14 07:43:21 +0300 |
commit | f0b0524c5fa7d4b8cc857000d8fdfba5170a980f (patch) | |
tree | 28ef3b49abdabd6a7f49b9ae8c5a67dfa1ce2f61 /source/blender/draw | |
parent | 117ccb56ad7a7047b335de9bb5d6ea6e0acf3133 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_lightprobes.c | 4 | ||||
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_engine.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_lightprobes.c b/source/blender/draw/engines/eevee/eevee_lightprobes.c index 61ca2317572..1e08741db26 100644 --- a/source/blender/draw/engines/eevee/eevee_lightprobes.c +++ b/source/blender/draw/engines/eevee/eevee_lightprobes.c @@ -786,8 +786,8 @@ void EEVEE_lightprobes_cache_finish(EEVEE_ViewLayerData *sldata, EEVEE_Data *ved if (pinfo->do_grid_update) { scene_orig->eevee.light_cache_data->flag |= LIGHTCACHE_UPDATE_GRID; } - /* If we update grid we need to update the cubemaps too. - * So always refresh cubemaps. */ + /* If we update grid we need to update the cube-maps too. + * So always refresh cube-maps. */ scene_orig->eevee.light_cache_data->flag |= LIGHTCACHE_UPDATE_CUBE; /* Tag the lightcache to auto update. */ scene_orig->eevee.light_cache_data->flag |= LIGHTCACHE_UPDATE_AUTO; diff --git a/source/blender/draw/engines/workbench/workbench_engine.c b/source/blender/draw/engines/workbench/workbench_engine.c index b91ca7cf070..a728afa559e 100644 --- a/source/blender/draw/engines/workbench/workbench_engine.c +++ b/source/blender/draw/engines/workbench/workbench_engine.c @@ -212,8 +212,10 @@ static void workbench_cache_hair_populate(WORKBENCH_PrivateData *wpd, DRW_shgroup_hair_create_sub(ob, psys, md, grp); } -/* Decide what colortype to draw the object with. - * In some cases it can be overwritten by workbench_material_setup(). */ +/** + * Decide what color-type to draw the object with. + * In some cases it can be overwritten by #workbench_material_setup(). + */ static eV3DShadingColorType workbench_color_type_get(WORKBENCH_PrivateData *wpd, Object *ob, bool *r_sculpt_pbvh, |