Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Wed, 27 Jun 2018 20:32:52 +0000 (22:32 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 27 Jun 2018 20:32:52 +0000 (22:32 +0200)
source/blender/blenkernel/intern/bvhutils.c
source/blender/blenkernel/intern/library.c
source/blender/editors/mesh/editmesh_bisect.c
source/blender/editors/mesh/editmesh_extrude_screw.c
source/blender/makesrna/intern/rna_particle.c
source/blender/modifiers/intern/MOD_particleinstance.c

index c678f71dff9a1fca1121a0f7c369596cf0ec25ca..e48c6ff38d2340645ef6eed376ba5c173f9302a2 100644 (file)
@@ -1152,7 +1152,7 @@ BVHTree *bvhtree_from_mesh_get(
                        MEM_freeN(mloop);
                }
                if (looptri_allocated) {
-                       MEM_freeN((void*)looptri);
+                       MEM_freeN((void *)looptri);
                }
 
                memset(data, 0, sizeof(*data));
index 00c542bcd4a99770462bb419d2c85b1767a6e954..0eb943cc15b9e44051c7e79fdebd012f10bc82cd 100644 (file)
@@ -2417,8 +2417,8 @@ void BKE_id_tag_clear_atomic(ID *id, int tag)
 
 /** Check that given ID pointer actually is in G_MAIN.
  * Main intended use is for debug asserts in places we cannot easily get rid of G_Main... */
-bool BKE_id_is_in_gobal_main(ID *id) {
+bool BKE_id_is_in_gobal_main(ID *id)
+{
        /* We do not want to fail when id is NULL here, even though this is a bit strange behavior... */
        return (id == NULL || BLI_findindex(which_libbase(G_MAIN, GS(id->name)), id) != -1);
 }
-
index d1531972eb2f4d4684e48fc7d85f96760aa5db11..783fe93167074216c35c948bd5948d32ab654990 100644 (file)
@@ -348,7 +348,7 @@ void MESH_OT_bisect(struct wmOperatorType *ot)
        RNA_def_boolean(ot->srna, "clear_outer", false, "Clear Outer", "Remove geometry in front of the plane");
 
        RNA_def_float(ot->srna, "threshold", 0.0001, 0.0, 10.0, "Axis Threshold",
-                                                                                                       "Preserves the existing geometry along the cut plane", 0.00001, 0.1);
+                     "Preserves the existing geometry along the cut plane", 0.00001, 0.1);
 
        WM_operator_properties_gesture_straightline(ot, CURSOR_EDIT);
 }
index ffbbae609499f1194cc6fdad11e39243fa688b50..de9f714dfe8eab1c993cf3889d146acd48788716 100644 (file)
@@ -25,7 +25,7 @@
  * ***** END GPL LICENSE BLOCK *****
  */
 
-/** \file blender/editors/mesh/editmesh_extrude_spin.c
+/** \file blender/editors/mesh/editmesh_extrude_screw.c
  *  \ingroup edmesh
  */
 
index 5d35342d7ed727c26dd4b0257d840d322383be15..fc8f28f4f2c1db280614511fa82b7203a25b47e1 100644 (file)
@@ -696,7 +696,7 @@ static void rna_Particle_change_physics_type(Main *bmain, Scene *scene, PointerR
                BLI_addtail(&state->rules, boid_new_rule(eBoidRuleType_Separate));
                BLI_addtail(&state->rules, boid_new_rule(eBoidRuleType_Flock));
 
-               ((BoidRule*)state->rules.first)->flag |= BOIDRULE_CURRENT;
+               ((BoidRule *)state->rules.first)->flag |= BOIDRULE_CURRENT;
 
                state->flag |= BOIDSTATE_CURRENT;
                BLI_addtail(&part->boids->states, state);
index 9b5b07e4b74eff566e670fbe38a81ad1976c7ca9..267ef362d03376668998ea8e7e0cd7592b9d60fc 100644 (file)
@@ -223,7 +223,7 @@ static DerivedMesh *applyModifier(
        MPoly *mpoly, *orig_mpoly;
        MLoop *mloop, *orig_mloop;
        MVert *mvert, *orig_mvert;
-       int totvert, totpoly, totloop , totedge;
+       int totvert, totpoly, totloop, totedge;
        int maxvert, maxpoly, maxloop, maxedge, part_end = 0, part_start;
        int k, p, p_skip;
        short track = ob->trackflag % 3, trackneg, axis = pimd->axis;