Implemented persistence of lighting information through XML files
--HG-- extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4034
This commit is contained in:
@@ -52,6 +52,7 @@ std::string KRInstance::getElementName() {
|
||||
tinyxml2::XMLElement *KRInstance::saveXML( tinyxml2::XMLNode *parent)
|
||||
{
|
||||
tinyxml2::XMLElement *e = KRNode::saveXML(parent);
|
||||
e->SetAttribute("mesh_name", m_model_name.c_str());
|
||||
e->SetAttribute("lightmap", m_shadowMap.c_str());
|
||||
return e;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user