From 3ac342dc6d8024024de095dadb7b2a1e7b53583d Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Fri, 24 Sep 2021 10:45:36 +0200 Subject: Cleanup: clang format --- intern/cycles/blender/blender_curves.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'intern/cycles/blender') diff --git a/intern/cycles/blender/blender_curves.cpp b/intern/cycles/blender/blender_curves.cpp index c7851e40543..b6b4f206620 100644 --- a/intern/cycles/blender/blender_curves.cpp +++ b/intern/cycles/blender/blender_curves.cpp @@ -339,8 +339,7 @@ static void ExportCurveSegments(Scene *scene, Hair *hair, ParticleCurveData *CDa num_curve_keys++; } - if (attr_length != NULL) - { + if (attr_length != NULL) { attr_length->add(CData->curve_length[curve]); } @@ -671,8 +670,7 @@ static void export_hair_curves(Scene *scene, Hair *hair, BL::Hair b_hair) if (hair->need_attribute(scene, ATTR_STD_CURVE_INTERCEPT)) { attr_intercept = hair->attributes.add(ATTR_STD_CURVE_INTERCEPT); } - if (hair->need_attribute(scene, ATTR_STD_CURVE_LENGTH)) - { + if (hair->need_attribute(scene, ATTR_STD_CURVE_LENGTH)) { attr_length = hair->attributes.add(ATTR_STD_CURVE_LENGTH); } if (hair->need_attribute(scene, ATTR_STD_CURVE_RANDOM)) { @@ -727,8 +725,7 @@ static void export_hair_curves(Scene *scene, Hair *hair, BL::Hair b_hair) } } - if (attr_length) - { + if (attr_length) { attr_length->add(length); } -- cgit v1.2.3