diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-18 01:46:24 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-18 01:46:24 +0300 |
commit | cfe5bf4b2222f7cd1b41e7ee7f6fa84e807aaeb0 (patch) | |
tree | 19e7a2d0b59890f9270a0fb66b11cc0d35220a79 /source | |
parent | f197b1a1f1bbc0334310fb1c911327246767a1a3 (diff) |
Cleanup: spelling, format
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/subdiv_mesh.cc | 4 | ||||
-rw-r--r-- | source/blender/draw/engines/eevee_next/eevee_light.cc | 2 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_select.cc | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/subdiv_mesh.cc b/source/blender/blenkernel/intern/subdiv_mesh.cc index d914318b8a5..e026a013498 100644 --- a/source/blender/blenkernel/intern/subdiv_mesh.cc +++ b/source/blender/blenkernel/intern/subdiv_mesh.cc @@ -297,7 +297,7 @@ struct LoopsForInterpolation { * Is allocated for non-regular faces (triangles and n-gons). */ CustomData loop_data_storage; bool loop_data_storage_allocated; - /* Infices within loop_data to interpolate for. The indices are aligned with + /* Indices within loop_data to interpolate for. The indices are aligned with * uv coordinates in a similar way as indices in loop_data_storage. */ int loop_indices[4]; }; @@ -570,7 +570,7 @@ static void evaluate_vertex_and_apply_displacement_copy(const SubdivMeshContext add_v3_v3(subdiv_vert->co, D); /* Evaluate undeformed texture coordinate. */ subdiv_vertex_orco_evaluate(ctx, ptex_face_index, u, v, subdiv_vertex_index); - /* Remove facedot flag. This can happen if there is more than one subsurf modifier. */ + /* Remove face-dot flag. This can happen if there is more than one subsurf modifier. */ BLI_BITMAP_DISABLE(ctx->subdiv_mesh->runtime.subsurf_face_dot_tags, subdiv_vertex_index); } diff --git a/source/blender/draw/engines/eevee_next/eevee_light.cc b/source/blender/draw/engines/eevee_next/eevee_light.cc index 5392816124b..558a9846ced 100644 --- a/source/blender/draw/engines/eevee_next/eevee_light.cc +++ b/source/blender/draw/engines/eevee_next/eevee_light.cc @@ -337,7 +337,7 @@ void LightModule::end_sync() light_map_.remove(key); } - /* Update sampling on deletion or un-hidding (use_scene_lights). */ + /* Update sampling on deletion or un-hiding (use_scene_lights). */ if (assign_if_different(light_map_size_, light_map_.size())) { inst_.sampling.reset(); } diff --git a/source/blender/editors/space_view3d/view3d_select.cc b/source/blender/editors/space_view3d/view3d_select.cc index 085320a0e72..036d951efaa 100644 --- a/source/blender/editors/space_view3d/view3d_select.cc +++ b/source/blender/editors/space_view3d/view3d_select.cc @@ -3425,7 +3425,8 @@ static bool do_mesh_box_select(ViewContext *vc, } if (ts->selectmode & SCE_SELECT_EDGE) { /* Does both use_zbuf and non-use_zbuf versions (need screen cos for both) */ - struct BoxSelectUserData_ForMeshEdge cb_data {}; + struct BoxSelectUserData_ForMeshEdge cb_data { + }; cb_data.data = &data; cb_data.esel = use_zbuf ? esel : nullptr; cb_data.backbuf_offset = use_zbuf ? DRW_select_buffer_context_offset_for_object_elem( |