Save member information in docdata

Closes #4609
This commit is contained in:
Bojidar Marinov 2016-05-13 16:53:08 +03:00
parent 1bdda9a922
commit 4cbf74da71
1 changed files with 2 additions and 0 deletions

View File

@ -989,6 +989,8 @@ Error DocData::save(const String& p_path) {
PropertyDoc &p=c.properties[i]; PropertyDoc &p=c.properties[i];
_write_string(f,2,"<member name=\""+p.name+"\" type=\""+p.type+"\">"); _write_string(f,2,"<member name=\""+p.name+"\" type=\""+p.type+"\">");
if (p.description!="")
_write_string(f,3,p.description.xml_escape());
_write_string(f,2,"</member>"); _write_string(f,2,"</member>");
} }