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:
@@ -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(",");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user