Enable relative texture names in material serialization
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3711 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
29f591f3b0
commit
652aa8aec1
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue