For some strange reason, reusing Colorization instances causes character

creation to break.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2675 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2003-06-23 18:06:57 +00:00
parent 28a9441143
commit 25ebfba64f
@@ -1,5 +1,5 @@
//
// $Id: ColorPository.java,v 1.3 2003/06/05 17:31:21 mdb Exp $
// $Id: ColorPository.java,v 1.4 2003/06/23 18:06:57 mdb Exp $
package com.threerings.media.image;
@@ -146,11 +146,13 @@ public class ColorPository implements Serializable
*/
public Colorization getColorization ()
{
if (_zation == null) {
_zation = new Colorization(getColorPrint(), cclass.source,
cclass.range, offsets);
}
return _zation;
// if (_zation == null) {
// _zation = new Colorization(getColorPrint(), cclass.source,
// cclass.range, offsets);
// }
// return _zation;
return new Colorization(getColorPrint(), cclass.source,
cclass.range, offsets);
}
/**