[Bf-blender-cvs] [a7b931e87f9] master: Cleanup: comments, replace German expression with English

Campbell Barton noreply at git.blender.org
Tue Feb 9 12:42:24 CET 2021


Commit: a7b931e87f91a85dd18aef395d4796e8e5bc47c3
Author: Campbell Barton
Date:   Tue Feb 9 20:37:40 2021 +1100
Branches: master
https://developer.blender.org/rBa7b931e87f91a85dd18aef395d4796e8e5bc47c3

Cleanup: comments, replace German expression with English

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

M	source/blender/editors/uvedit/uvedit_unwrap_ops.c

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

diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
index be54df1ce9e..fc5f41e8ed5 100644
--- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c
+++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
@@ -1336,9 +1336,9 @@ static void uv_map_rotation_matrix_ex(float result[4][4],
   zero_m4(rotup);
   zero_m4(rotside);
 
-  /* compensate front/side.. against opengl x,y,z world definition */
-  /* this is "kanonen gegen spatzen", a few plus minus 1 will do here */
-  /* i wanted to keep the reason here, so we're rotating*/
+  /* Compensate front/side.. against opengl x,y,z world definition.
+   * This is "a sledgehammer to crack a nut" (overkill), a few plus minus 1 will do here.
+   * I wanted to keep the reason here, so we're rotating. */
   sideangle = (float)M_PI * (sideangledeg + 180.0f) / 180.0f;
   rotside[0][0] = cosf(sideangle);
   rotside[0][1] = -sinf(sideangle);



More information about the Bf-blender-cvs mailing list