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:
parent
c2737913db
commit
c2e26406c5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue