You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-29 16:16:38 +00:00
Save member information in docdata
Closes #4609
(cherry picked from commit 4cbf74da71)
This commit is contained in:
committed by
Rémi Verschelde
parent
a3979cc928
commit
d7e4fb4365
@@ -985,6 +985,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>");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user