Cleanup: style
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user