Refactor Collada: combined 2 almost identical functions into one
authorGaia Clary <gaia.clary@machinimatrix.org>
Sun, 11 Mar 2018 11:44:02 +0000 (12:44 +0100)
committerGaia Clary <gaia.clary@machinimatrix.org>
Sun, 11 Mar 2018 19:59:48 +0000 (20:59 +0100)
commit01c27faed0d499374b16ae7fbee4877289608209
tree5a0497a82a2e02f52297d3ee9c98fde762498c8f
parent3eaa408cb320bd4bd77d0518d351f861cce9eabf
Refactor Collada: combined 2 almost identical functions into one

The 2 methods add_bezt() and create_bezt() do almost the same.
I combined them both into add_bezt() and added the optional parameter
eBezTriple_Interpolation ipo
source/blender/collada/AnimationImporter.cpp
source/blender/collada/AnimationImporter.h