diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 03:35:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 03:51:10 +0300 |
commit | 63f0e150edaeea26fbcc48f62597f4f5c71cc64a (patch) | |
tree | 275c7ec1f9732fd992ce8351cf0da284211edb99 /source/blender/draw/intern/draw_cache_impl_mesh.c | |
parent | 480a09a92f7f1f28aabb4ad84b86ddccd6580afc (diff) |
Cleanup: comments (long lines) in draw
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl_mesh.c')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl_mesh.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl_mesh.c b/source/blender/draw/intern/draw_cache_impl_mesh.c index 85130ee9472..1d8c7f0e5a7 100644 --- a/source/blender/draw/intern/draw_cache_impl_mesh.c +++ b/source/blender/draw/intern/draw_cache_impl_mesh.c @@ -325,8 +325,8 @@ typedef enum eMRDataType { #define MR_DATATYPE_LOOSE_VERT_EGDE (MR_DATATYPE_LOOSE_VERT | MR_DATATYPE_LOOSE_EDGE) /** - * These functions look like they would be slow but they will typically return true on the first iteration. - * Only false when all attached elements are hidden. + * These functions look like they would be slow but they will typically return true on the first + * iteration. Only false when all attached elements are hidden. */ static bool bm_vert_has_visible_edge(const BMVert *v) { @@ -1159,7 +1159,8 @@ static MeshRenderData *mesh_render_data_create_ex(Mesh *me, /* note: BKE_editmesh_loop_tangent_calc calculates 'CD_TANGENT', * not 'CD_MLOOPTANGENT' (as done below). It's OK, they're compatible. */ - /* note: normally we'd use 'i_src' here, but 'i_dst' is in sync with 'rdata->cd.output' */ + /* note: normally we'd use 'i_src' here, but 'i_dst' is in sync with 'rdata->cd.output' + */ rdata->cd.layers.tangent[i_dst] = CustomData_get_layer_n( &rdata->cd.output.ldata, CD_TANGENT, i_dst); if (rdata->tri_len != 0) { |