X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fanimatedobject.h;h=2b640b763fa1859807f5a2a0736b44c57ca7aa87;hp=3ec336fd353e1349bec2d0811f579512c5819233;hb=ca52c492bd4f2fa1a1db3a85e50eaf7c43474830;hpb=d093b45975eb03b07680711ce982ad634a50fba3 diff --git a/source/animatedobject.h b/source/animatedobject.h index 3ec336fd..2b640b76 100644 --- a/source/animatedobject.h +++ b/source/animatedobject.h @@ -16,7 +16,7 @@ An object instance that can be animated by an AnimationPlayer. class AnimatedObject: public ObjectInstance { public: - class Loader: public DataFile::ObjectLoader + class Loader: public DataFile::DerivedObjectLoader { public: Loader(AnimatedObject &); @@ -38,6 +38,7 @@ public: void set_pose_matrix(unsigned, const Matrix &); ProgramData &get_shader_data(); + const ProgramData &get_shader_data() const; // Deprecated void set_uniform(const std::string &, const KeyFrame::AnimatedUniform &);