From a10dc319ca069a16ca103b867e96d2fb2c40c387 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 20 Feb 2019 08:25:00 +1100 Subject: Comment: clarify reason for using scale as size --- source/blender/modifiers/intern/MOD_normal_edit.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_normal_edit.c b/source/blender/modifiers/intern/MOD_normal_edit.c index 8252347f53d..9421c61f14f 100644 --- a/source/blender/modifiers/intern/MOD_normal_edit.c +++ b/source/blender/modifiers/intern/MOD_normal_edit.c @@ -61,6 +61,9 @@ static void generate_vert_coordinates( /* Get size (i.e. deformation of the spheroid generating normals), either from target object, or own geometry. */ if (r_size != NULL) { if (ob_center != NULL) { + /* Using 'scale' as 'size' here. The input object is typically an empty + * who's scale is used to define an ellipsoid instead of a simple sphere. */ + /* Not we are not interested in signs here - they are even troublesome actually, due to security clamping! */ abs_v3_v3(r_size, ob_center->scale); } -- cgit v1.2.3