Comment: clarify reason for using scale as size

This commit is contained in:
Campbell Barton 2019-02-20 08:25:00 +11:00
parent 39afc2775f
commit a10dc319ca
Notes: blender-bot 2023-02-14 08:06:35 +01:00
Referenced by issue #61691, Normal edit modifier uses `scale` used as `size` for normal calculations
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}