Enable relative texture names in material serialization

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3711 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2011-05-09 12:50:08 +00:00
parent 29f591f3b0
commit 652aa8aec1
1 changed files with 1 additions and 1 deletions

View File

@ -2254,7 +2254,7 @@ void CSceneManager::writeSceneNode(io::IXMLWriter* writer, ISceneNode* node, ISc
for (u32 i=0; i < node->getMaterialCount(); ++i) for (u32 i=0; i < node->getMaterialCount(); ++i)
{ {
io::IAttributes* tmp_attr = io::IAttributes* tmp_attr =
getVideoDriver()->createAttributesFromMaterial(node->getMaterial(i)); getVideoDriver()->createAttributesFromMaterial(node->getMaterial(i), &options);
tmp_attr->write(writer); tmp_attr->write(writer);
tmp_attr->drop(); tmp_attr->drop();
} }