X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fobject.cpp;h=19abe36b766c9f650644824c967060847f6a7b38;hb=5c59a04e253bf7868796fc0dc8e9768ad1988b33;hp=3ba2d64c378862ea435f6d371cc4e5ec122a5579;hpb=c6aea1bc1586ffef132e6fffdf99343cb56617db;p=libs%2Fgl.git diff --git a/source/object.cpp b/source/object.cpp index 3ba2d64c..19abe36b 100644 --- a/source/object.cpp +++ b/source/object.cpp @@ -164,11 +164,10 @@ void Object::Loader::lod_mesh(unsigned l, const string &n) void Object::Loader::material_inline() { - throw Exception("material_inline not supported yet"); - /*RefPtr mat=new Material; + RefPtr mat=new Material; load_sub(*mat); coll.add(format("%p%p", &obj, mat.get()), mat.get()); - obj.material=mat.release();*/ + obj.material=mat.release(); } void Object::Loader::mesh(const string &n)