Fixed bug in saving clusters to XML. Added checkbox to editor to

allow display of locations and cluster indexes.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@212 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Walter Korman
2001-08-10 21:17:07 +00:00
parent ff101fb4ef
commit 8d7c2fc4e9
8 changed files with 168 additions and 58 deletions
@@ -1,5 +1,5 @@
//
// $Id: XMLSceneWriter.java,v 1.6 2001/08/10 01:31:25 shaper Exp $
// $Id: XMLSceneWriter.java,v 1.7 2001/08/10 21:17:07 shaper Exp $
package com.threerings.miso.scene.xml;
@@ -97,7 +97,7 @@ public class XMLSceneWriter extends DataWriter
int clustersize = clusterlocs.size();
for (int jj = 0; jj < clustersize; jj++) {
buf.append(locs.indexOf(clusterlocs.get(jj))).append(",");
buf.append(locs.indexOf(clusterlocs.get(jj)));
if (jj < clustersize - 1) buf.append(",");
}