Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-24 19:46:51 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-24 19:48:29 +0300
commit342e73f90fc5c41af8db3a6e3dfdf1746f7f5bc4 (patch)
tree47fdb91d8e16b1c89f9ca358cb0172e862905ee1 /source/blender/blenkernel/intern/subdiv_mesh.c
parent9682e43bf9e078165b3d4d52c6a19c430ec2cbf2 (diff)
Spelling fixes in comments and descriptions (2.8 changes), patch by luzpaz.
Differential Revision: https://developer.blender.org/D3719
Diffstat (limited to 'source/blender/blenkernel/intern/subdiv_mesh.c')
-rw-r--r--source/blender/blenkernel/intern/subdiv_mesh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/subdiv_mesh.c b/source/blender/blenkernel/intern/subdiv_mesh.c
index f4c229cb701..d8d4014b3cd 100644
--- a/source/blender/blenkernel/intern/subdiv_mesh.c
+++ b/source/blender/blenkernel/intern/subdiv_mesh.c
@@ -119,7 +119,7 @@ static void loops_of_ptex_get(
/* Loop which look in the (opposite) V direction of the current
* ptex face.
*
- * TOOD(sergey): Get rid of using module on every iteration.
+ * TODO(sergey): Get rid of using module on every iteration.
*/
const int last_ptex_loop_index =
coarse_poly->loopstart +
@@ -562,7 +562,7 @@ static void evaluate_vertex_and_apply_displacement_copy(
MVert *subdiv_vert)
{
/* Displacement is accumulated in subdiv vertex position.
- * need to back it up before copying data fro original vertex.
+ * need to back it up before copying data from original vertex.
*/
float D[3];
copy_v3_v3(D, subdiv_vert->co);
@@ -584,7 +584,7 @@ static void evaluate_vertex_and_apply_displacement_interpolate(
MVert *subdiv_vert)
{
/* Displacement is accumulated in subdiv vertex position.
- * need to back it up before copying data fro original vertex.
+ * need to back it up before copying data from original vertex.
*/
float D[3];
copy_v3_v3(D, subdiv_vert->co);
@@ -1073,7 +1073,7 @@ static void setup_foreach_callbacks(SubdivForeachContext *foreach_context,
const Subdiv *subdiv)
{
memset(foreach_context, 0, sizeof(*foreach_context));
- /* General informaiton. */
+ /* General information. */
foreach_context->topology_info = subdiv_mesh_topology_info;
/* Every boundary geometry. Used for dispalcement averaging. */
if (subdiv->displacement_evaluator != NULL) {