From 333cdbb41025db012239e0549a439515880aad9b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 18 Apr 2019 07:21:26 +0200 Subject: Cleanup: comment blocks --- source/blender/collada/BCAnimationSampler.cpp | 34 +++++++++++++-------------- 1 file changed, 16 insertions(+), 18 deletions(-) (limited to 'source/blender/collada/BCAnimationSampler.cpp') diff --git a/source/blender/collada/BCAnimationSampler.cpp b/source/blender/collada/BCAnimationSampler.cpp index e8b1015e1c3..ee574e2968b 100644 --- a/source/blender/collada/BCAnimationSampler.cpp +++ b/source/blender/collada/BCAnimationSampler.cpp @@ -271,12 +271,11 @@ void BCAnimationSampler::find_depending_animated(std::set &animated_ob void BCAnimationSampler::get_animated_from_export_set(std::set &animated_objects, LinkNode &export_set) { - /* - Check if this object is animated. That is: Check if it has its own action, or - - - Check if it has constraints to other objects - - at least one of the other objects is animated as well - */ + /* Check if this object is animated. That is: Check if it has its own action, or: + * + * - Check if it has constraints to other objects. + * - at least one of the other objects is animated as well. + */ animated_objects.clear(); std::set static_objects; @@ -320,18 +319,17 @@ bool BCAnimationSampler::get_object_samples(BCMatrixSampleMap &samples, Object * } #if 0 -/* - Add sampled values to FCurve - If no FCurve exists, create a temporary FCurve; - Note: The temporary FCurve will later be removed when the - BCAnimationSampler is removed (by its destructor) - - curve: The curve to whioch the data is added - matrices: The set of matrix values from where the data is taken - animation_type BC_ANIMATION_EXPORT_SAMPLES: Use all matrix data - animation_type BC_ANIMATION_EXPORT_KEYS: Only take data from matrices for keyframes -*/ - +/** + * Add sampled values to FCurve + * If no FCurve exists, create a temporary FCurve; + * Note: The temporary FCurve will later be removed when the + * BCAnimationSampler is removed (by its destructor) + * + * curve: The curve to whioch the data is added + * matrices: The set of matrix values from where the data is taken + * animation_type BC_ANIMATION_EXPORT_SAMPLES: Use all matrix data + * animation_type BC_ANIMATION_EXPORT_KEYS: Only take data from matrices for keyframes + */ void BCAnimationSampler::add_value_set(BCAnimationCurve &curve, BCFrameSampleMap &samples, BC_export_animation_type animation_type) -- cgit v1.2.3