Blender Git Loki

Git Commits -> Revision e04a73c

Revision e04a73c by Gaia Clary (collada2.8)
August 2, 2018, 15:37 (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: e04a73c993920e4dec98d225a0b6bd7bbc4aa93a
Parent Commit: b773c5c
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021