Blender Git Commit Log

Git Commits -> Revision 938ecae

Revision 938ecae by Gaia Clary
March 23, 2018, 14:49 (GMT)
Refactor: Use more general appraoch to get data from BCMatrix

Added virtual function get_value_for() that can pick the correct data
from a Matrix (and later also for a vector or a float array) (wip)

this is in preparation for adding Sample data for Materials, light and camera
Those animations do not need matrix values, but either simple float arrays
or float vector arrays. I still want to handle those animation samples
in the same way as the Matrix samples. So i try to use a class hierarchy here
with the base class BCSample and derived classes where BCMatrix is the only
implemented subclass so far. (wip)

Commit Details:

Full Hash: 938ecae64fad6fa4a016834e97a6b1ee2dfcfa48
Parent Commit: e7a8f35
Lines Changed: +61, -68

6 Modified Paths:

/source/blender/collada/BCAnimationCurve.cpp (+7, -22) (Diff)
/source/blender/collada/BCAnimationCurve.h (+1, -5) (Diff)
/source/blender/collada/BCAnimationCurveContainer.cpp (+14, -32) (Diff)
/source/blender/collada/BCAnimationCurveContainer.h (+5, -6) (Diff)
/source/blender/collada/BCSampleData.cpp (+30, -1) (Diff)
/source/blender/collada/BCSampleData.h (+4, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021