Cleanup: use different hardcoded shape to make the root/tip radius useful

Those settings are intended to be removed at some point, but for now they
are still needed because the radius attribute isn't supported.
This commit is contained in:
Jacques Lucke 2022-05-09 18:24:05 +02:00
parent c2737913db
commit c2e26406c5
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ DRWShadingGroup *DRW_shgroup_curves_create_sub(Object *object,
DRW_shgroup_uniform_texture(shgrp, "ac", g_dummy_texture);
/* TODO: Generalize radius implementation for curves data type. */
float hair_rad_shape = 1.0f;
float hair_rad_shape = 0.0f;
float hair_rad_root = 0.005f;
float hair_rad_tip = 0.0f;
bool hair_close_tip = true;