mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
TinyFix: mapxml Element memorymanagment
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@160 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
97b5fa7aa7
commit
6763fa2719
1 changed files with 1 additions and 1 deletions
|
@ -269,7 +269,7 @@ inline void FacePolygon_exportXML(const Winding& w, const BasicVector3<double>&
|
|||
|
||||
for(unsigned int i = 0; i < w.numpoints; ++i)
|
||||
{
|
||||
StaticElement c("vertex");
|
||||
DynamicElement c("vertex");
|
||||
|
||||
sprintf(tmp, "%f", w.points[i].vertex.x());
|
||||
c.insertAttribute("x", tmp);
|
||||
|
|
Loading…
Reference in a new issue