diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-06 22:53:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-07 00:43:56 +0300 |
commit | 87c1893f8dffdaf4abad0b736be55c55c34cbb6e (patch) | |
tree | 145546aff32ff73647849a6004d4c6351e348f78 /source/blender/blenkernel/intern | |
parent | fbce8f27c81aca8cbbfc592a10116b5a177b9750 (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 4 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/shrinkwrap.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index cc94e87c747..dccc959b4ea 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -5041,10 +5041,10 @@ static bConstraint *constraint_list_find_from_target(ListBase *constraints, bCon ListBase *targets = NULL; if (con->type == CONSTRAINT_TYPE_PYTHON) { - targets = &((bPythonConstraint*)con->data)->targets; + targets = &((bPythonConstraint *)con->data)->targets; } else if (con->type == CONSTRAINT_TYPE_ARMATURE) { - targets = &((bArmatureConstraint*)con->data)->targets; + targets = &((bArmatureConstraint *)con->data)->targets; } if (targets && BLI_findindex(targets, tgt) != -1) { diff --git a/source/blender/blenkernel/intern/shrinkwrap.c b/source/blender/blenkernel/intern/shrinkwrap.c index 78045e5fd56..4ba43b1a26f 100644 --- a/source/blender/blenkernel/intern/shrinkwrap.c +++ b/source/blender/blenkernel/intern/shrinkwrap.c @@ -166,10 +166,10 @@ void BKE_shrinkwrap_discard_boundary_data(struct Mesh *mesh) struct ShrinkwrapBoundaryData *data = mesh->runtime.shrinkwrap_data; if (data != NULL) { - MEM_freeN((void*)data->edge_is_boundary); - MEM_freeN((void*)data->looptri_has_boundary); - MEM_freeN((void*)data->vert_boundary_id); - MEM_freeN((void*)data->boundary_verts); + MEM_freeN((void *)data->edge_is_boundary); + MEM_freeN((void *)data->looptri_has_boundary); + MEM_freeN((void *)data->vert_boundary_id); + MEM_freeN((void *)data->boundary_verts); MEM_freeN(data); } |