diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-04 05:25:03 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-04 05:35:33 +0300 |
commit | 27fea7a3a57e944a318dddd8f63736218576df01 (patch) | |
tree | f76d242fb4d8caa898be89b53dcad5354b224132 /source/blender/draw/intern/draw_manager_data.c | |
parent | f6a20fca5ed841c5276b35da87d02b3be9db6f85 (diff) |
Cleanup: clang-format
Add ccl_gpu_kernel_postfix as a statement macro to prevent the following
declarations from being indented.
Diffstat (limited to 'source/blender/draw/intern/draw_manager_data.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager_data.c b/source/blender/draw/intern/draw_manager_data.c index 8c7cd6d1648..39f083aaf96 100644 --- a/source/blender/draw/intern/draw_manager_data.c +++ b/source/blender/draw/intern/draw_manager_data.c @@ -614,7 +614,7 @@ 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 : + 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); |