void Object::Loader::material_inline()
{
- throw Exception("material_inline not supported yet");
- /*RefPtr<Material> mat=new Material;
+ RefPtr<Material> 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)