[Bf-blender-cvs] [d16e73543fa] collada: Cleanup collada: improved class description comment

Gaia Clary noreply at git.blender.org
Tue Apr 17 22:38:14 CEST 2018


Commit: d16e73543fa7b91a54ad36cf54467255181d4de3
Author: Gaia Clary
Date:   Tue Apr 17 13:15:55 2018 +0200
Branches: collada
https://developer.blender.org/rBd16e73543fa7b91a54ad36cf54467255181d4de3

Cleanup collada: improved class description comment

===================================================================

M	source/blender/collada/BCAnimationSampler.h

===================================================================

diff --git a/source/blender/collada/BCAnimationSampler.h b/source/blender/collada/BCAnimationSampler.h
index e048403dfcc..fc40f8e52fa 100644
--- a/source/blender/collada/BCAnimationSampler.h
+++ b/source/blender/collada/BCAnimationSampler.h
@@ -36,6 +36,7 @@ extern "C" {
 #include "DNA_action_types.h"
 }
 
+/* Collection of animation curves */
 class BCAnimation {
 public:
 	BCFrameSet frame_set;
@@ -58,10 +59,9 @@ class BCSampleFrame {
 
 	/*
 	Each frame on the timeline that needs to be sampled will have
-	one BCSampleFrame where we collect all elements that need to be sampled.
-	This can be Objects or Bones.
-	Those elements are stored in a BCSampleMap which uses
-	a BCSampleKey to identify the sampled item and a BCMatrix which contains
+	one BCSampleFrame where we collect all objects that need to be sampled
+	for the frame. The BCSampleFrame objects are stored in a BCSampleMap which uses
+	a BCSampleKey to identify the sampled object and a BCMatrix which contains
 	the transform data for the item. Note that one item can have
 	multiple Transformation FCurves. However all those FCurves can be feeded by the BCMatrix.
 	*/



More information about the Bf-blender-cvs mailing list