]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
TinyFix: mapxml Element memorymanagment
authornamespace <namespace@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Wed, 28 Mar 2007 10:24:03 +0000 (10:24 +0000)
committernamespace <namespace@8a3a26a2-13c4-0310-b231-cf6edde360e5>
Wed, 28 Mar 2007 10:24:03 +0000 (10:24 +0000)
git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@160 8a3a26a2-13c4-0310-b231-cf6edde360e5

radiant/brushxml.h

index 9ec4dc503302b420e931f606550d98efa60eef19..afadc8a00d968245533d026ffeba83610504c831 100644 (file)
@@ -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);