From 024d40b504e4dc2a23824021bdcfe772a1f5f670 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 Apr 2019 02:48:05 +1000 Subject: Cleanup: comments (long lines) in makesrna --- source/blender/makesrna/intern/rna_object_api.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender/makesrna/intern/rna_object_api.c') diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c index 63ccc10afb2..02b700a03c1 100644 --- a/source/blender/makesrna/intern/rna_object_api.c +++ b/source/blender/makesrna/intern/rna_object_api.c @@ -534,7 +534,8 @@ static void rna_Object_ray_cast(Object *ob, distmin <= distance)) { BVHTreeFromMesh treeData = {NULL}; - /* no need to managing allocation or freeing of the BVH data. this is generated and freed as needed */ + /* No need to managing allocation or freeing of the BVH data. + * This is generated and freed as needed. */ BKE_bvhtree_from_mesh_get(&treeData, ob->runtime.mesh_eval, BVHTREE_FROM_LOOPTRI, 4); /* may fail if the mesh has no faces, in that case the ray-cast misses */ @@ -591,7 +592,8 @@ static void rna_Object_closest_point_on_mesh(Object *ob, return; } - /* no need to managing allocation or freeing of the BVH data. this is generated and freed as needed */ + /* No need to managing allocation or freeing of the BVH data. + * this is generated and freed as needed. */ BKE_bvhtree_from_mesh_get(&treeData, ob->runtime.mesh_eval, BVHTREE_FROM_LOOPTRI, 4); if (treeData.tree == NULL) { -- cgit v1.2.3