[Bf-blender-cvs] [eeb6a3dc056] master: Clenaup: comments places awkwardly before code

Campbell Barton noreply at git.blender.org
Mon Jan 16 03:28:23 CET 2023


Commit: eeb6a3dc056ffd64d1f9034f017beda02388dd47
Author: Campbell Barton
Date:   Mon Jan 16 13:25:05 2023 +1100
Branches: master
https://developer.blender.org/rBeeb6a3dc056ffd64d1f9034f017beda02388dd47

Clenaup: comments places awkwardly before code

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

M	source/blender/blenlib/intern/mesh_intersect.cc
M	source/blender/editors/space_sequencer/sequencer_draw.c
M	source/blender/modifiers/intern/MOD_volume_displace.cc

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

diff --git a/source/blender/blenlib/intern/mesh_intersect.cc b/source/blender/blenlib/intern/mesh_intersect.cc
index 8dcb513cb9f..d4d86e678c5 100644
--- a/source/blender/blenlib/intern/mesh_intersect.cc
+++ b/source/blender/blenlib/intern/mesh_intersect.cc
@@ -2030,7 +2030,8 @@ static Array<Face *> polyfill_triangulate_poly(Face *f, IMeshArena *arena)
     }
     return Array<Face *>{f0, f1};
   }
-  /* Project along negative face normal so (x,y) can be used in 2d. */ float axis_mat[3][3];
+  /* Project along negative face normal so (x,y) can be used in 2d. */
+  float axis_mat[3][3];
   float(*projverts)[2];
   uint(*tris)[3];
   const int totfilltri = flen - 2;
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 120fbbbf062..5d74ca96613 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -978,7 +978,8 @@ static void draw_sequence_extensions_overlay(
     immUniformColor4ubv(col);
     immRectf(pos, x2, y2 + pixely, strip_content_end, y2 + SEQ_STRIP_OFSBOTTOM);
 
-    /* Outline. */ immUniformColor3ubv(blend_col);
+    /* Outline. */
+    immUniformColor3ubv(blend_col);
     imm_draw_box_wire_2d(pos, x2, y2 + pixely, strip_content_end, y2 + SEQ_STRIP_OFSBOTTOM);
   }
   GPU_blend(GPU_BLEND_NONE);
diff --git a/source/blender/modifiers/intern/MOD_volume_displace.cc b/source/blender/modifiers/intern/MOD_volume_displace.cc
index 33ef740977e..4982669c976 100644
--- a/source/blender/modifiers/intern/MOD_volume_displace.cc
+++ b/source/blender/modifiers/intern/MOD_volume_displace.cc
@@ -231,7 +231,8 @@ struct DisplaceGridOp {
     openvdb::tools::foreach (temp_grid->beginValueOn(),
                              displace_op,
                              true,
-                             /* Disable sharing of the operator. */ false);
+                             /* Disable sharing of the operator. */
+                             false);
 
     /* It is likely that we produced too many active cells. Those are removed here, to avoid
      * slowing down subsequent operations. */



More information about the Bf-blender-cvs mailing list