diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 04:00:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 09:38:11 +0300 |
commit | 54f89e870425b20af14e2be03b777836b88a29af (patch) | |
tree | da5eb59c6b15979c4e62dfdafbcb38b27463d2a7 /source/blender/draw/intern/draw_manager_data.c | |
parent | 9b10b3930bd7784794e87255de390ad6e6876a4b (diff) |
Cleanup: docy comments beginning with '/**' don't end with '**/'
Diffstat (limited to 'source/blender/draw/intern/draw_manager_data.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager_data.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/draw/intern/draw_manager_data.c b/source/blender/draw/intern/draw_manager_data.c index f1d3f8c8d5a..8f21e9fa5ca 100644 --- a/source/blender/draw/intern/draw_manager_data.c +++ b/source/blender/draw/intern/draw_manager_data.c @@ -514,10 +514,10 @@ static void drw_call_obinfos_init(DRWObjectInfos *ob_infos, Object *ob) drw_call_calc_orco(ob, ob_infos->orcotexfac); /* Random float value. */ uint random = (DST.dupli_source) ? - DST.dupli_source->random_id : - /* TODO(fclem): this is rather costly to do at runtime. Maybe we can - * put it in ob->runtime and make depsgraph ensure it is up to date. */ - BLI_hash_int_2d(BLI_hash_string(ob->id.name + 2), 0); + DST.dupli_source->random_id : + /* TODO(fclem): this is rather costly to do at runtime. Maybe we can + * put it in ob->runtime and make depsgraph ensure it is up to date. */ + BLI_hash_int_2d(BLI_hash_string(ob->id.name + 2), 0); ob_infos->ob_random = random * (1.0f / (float)0xFFFFFFFF); /* Object State. */ ob_infos->ob_flag = 1.0f; /* Required to have a correct sign */ @@ -1773,7 +1773,7 @@ DRWView *DRW_view_create_sub(const DRWView *parent_view, * DRWView Update: * This is meant to be done on existing views when rendering in a loop and there is no * need to allocate more DRWViews. - **/ + */ /* Update matrices of a view created with DRW_view_create_sub. */ void DRW_view_update_sub(DRWView *view, const float viewmat[4][4], const float winmat[4][4]) |