[Bf-blender-cvs] [cfe5bf4b222] master: Cleanup: spelling, format

Campbell Barton noreply at git.blender.org
Thu Aug 18 00:46:53 CEST 2022


Commit: cfe5bf4b2222f7cd1b41e7ee7f6fa84e807aaeb0
Author: Campbell Barton
Date:   Thu Aug 18 08:46:24 2022 +1000
Branches: master
https://developer.blender.org/rBcfe5bf4b2222f7cd1b41e7ee7f6fa84e807aaeb0

Cleanup: spelling, format

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

M	source/blender/blenkernel/intern/subdiv_mesh.cc
M	source/blender/draw/engines/eevee_next/eevee_light.cc
M	source/blender/editors/space_view3d/view3d_select.cc

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

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(



More information about the Bf-blender-cvs mailing list