diff options
Diffstat (limited to 'source/blender/editors/mesh/knifetool.c')
-rwxr-xr-x | source/blender/editors/mesh/knifetool.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/knifetool.c b/source/blender/editors/mesh/knifetool.c index 5e50990b863..e08db8b6e46 100755 --- a/source/blender/editors/mesh/knifetool.c +++ b/source/blender/editors/mesh/knifetool.c @@ -180,7 +180,8 @@ static void knife_project_v3(knifetool_opdata *kcd, const float co[3], float sco ED_view3d_project_float(kcd->ar, co, sco, kcd->projmat); } -static ListBase *knife_empty_list(knifetool_opdata *kcd) { +static ListBase *knife_empty_list(knifetool_opdata *kcd) +{ ListBase *lst; lst = BLI_memarena_alloc(kcd->arena, sizeof(ListBase)); @@ -188,7 +189,8 @@ static ListBase *knife_empty_list(knifetool_opdata *kcd) { return lst; } -static void knife_append_list(knifetool_opdata *kcd, ListBase *lst, void *elem) { +static void knife_append_list(knifetool_opdata *kcd, ListBase *lst, void *elem) +{ Ref *ref; ref = BLI_mempool_calloc(kcd->refs); |