From c2e26406c5b3e84eb5fdbb1105d6f6470d66763c Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 9 May 2022 18:24:05 +0200 Subject: 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. --- source/blender/draw/intern/draw_curves.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/draw/intern/draw_curves.cc b/source/blender/draw/intern/draw_curves.cc index 88118361115..2edf596ac63 100644 --- a/source/blender/draw/intern/draw_curves.cc +++ b/source/blender/draw/intern/draw_curves.cc @@ -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; -- cgit v1.2.3