X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fanimation%2Fkeyframe.cpp;h=3f3dea28f0d1412d0a0414cfc9384e1ef5993c9a;hp=6cb8ce6ad1b5d9d5260115bae32821f62961c426;hb=f19366d32cc29287a2730cfba90893e407754081;hpb=f96d553dbf78f9d664d1dbb1fe002fc43f23ad47 diff --git a/source/animation/keyframe.cpp b/source/animation/keyframe.cpp index 6cb8ce6a..3f3dea28 100644 --- a/source/animation/keyframe.cpp +++ b/source/animation/keyframe.cpp @@ -47,19 +47,8 @@ KeyFrame::AnimatedUniform::AnimatedUniform(unsigned s, float v0, float v1, float } -KeyFrame::Loader::Loader(KeyFrame &k): - DataFile::CollectionObjectLoader(k, 0) -{ - init(); -} - -KeyFrame::Loader::Loader(KeyFrame &k, Collection &c): - DataFile::CollectionObjectLoader(k, &c) -{ - init(); -} - -void KeyFrame::Loader::init() +KeyFrame::Loader::Loader(KeyFrame &k, Collection *c): + DataFile::CollectionObjectLoader(k, c) { add("pose", &Loader::pose); add("pose", &Loader::pose_inline);