[Bf-blender-cvs] [46a222afd75] master: Cleanup: remove redundant/outdated comments

Campbell Barton noreply at git.blender.org
Sat Jun 26 13:52:39 CEST 2021


Commit: 46a222afd75825e56fd0ae45fc1396fa4a85c9d1
Author: Campbell Barton
Date:   Sat Jun 26 21:40:28 2021 +1000
Branches: master
https://developer.blender.org/rB46a222afd75825e56fd0ae45fc1396fa4a85c9d1

Cleanup: remove redundant/outdated comments

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

M	source/blender/blenkernel/intern/object.c
M	source/blender/editors/physics/dynamicpaint_ops.c
M	source/blender/modifiers/intern/MOD_screw.c

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

diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index 314cc1a46cd..c5614a69744 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -3212,12 +3212,11 @@ void BKE_object_to_mat3(Object *ob, float r_mat[3][3]) /* no parent */
 {
   float smat[3][3];
   float rmat[3][3];
-  /*float q1[4];*/
 
-  /* scale */
+  /* Scale. */
   BKE_object_scale_to_mat3(ob, smat);
 
-  /* rot */
+  /* Rotation. */
   BKE_object_rot_to_mat3(ob, rmat, true);
   mul_m3_m3m3(r_mat, rmat, smat);
 }
diff --git a/source/blender/editors/physics/dynamicpaint_ops.c b/source/blender/editors/physics/dynamicpaint_ops.c
index a761701f60b..56f32ff603c 100644
--- a/source/blender/editors/physics/dynamicpaint_ops.c
+++ b/source/blender/editors/physics/dynamicpaint_ops.c
@@ -454,7 +454,7 @@ static void dpaint_bake_startjob(void *customdata, short *stop, short *do_update
   job->start = PIL_check_seconds_timer();
   job->success = 1;
 
-  G.is_break = false; /* reset BKE_blender_test_break*/
+  G.is_break = false;
 
   /* XXX annoying hack: needed to prevent data corruption when changing
    * scene frame in separate threads
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c
index 9c577be1b77..b90bf91dcb8 100644
--- a/source/blender/modifiers/intern/MOD_screw.c
+++ b/source/blender/modifiers/intern/MOD_screw.c
@@ -341,7 +341,6 @@ static Mesh *modifyMesh(ModifierData *md, const ModifierEvalContext *ctx, Mesh *
 #endif
   }
   else {
-    /* exis char is used by i_rotate*/
     axis_char = (char)(axis_char + ltmd->axis); /* 'X' + axis */
 
     /* useful to be able to use the axis vec in some cases still */



More information about the Bf-blender-cvs mailing list