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:
@@ -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;
|
package com.threerings.media.image;
|
||||||
|
|
||||||
@@ -146,11 +146,13 @@ public class ColorPository implements Serializable
|
|||||||
*/
|
*/
|
||||||
public Colorization getColorization ()
|
public Colorization getColorization ()
|
||||||
{
|
{
|
||||||
if (_zation == null) {
|
// if (_zation == null) {
|
||||||
_zation = new Colorization(getColorPrint(), cclass.source,
|
// _zation = new Colorization(getColorPrint(), cclass.source,
|
||||||
cclass.range, offsets);
|
// cclass.range, offsets);
|
||||||
}
|
// }
|
||||||
return _zation;
|
// return _zation;
|
||||||
|
return new Colorization(getColorPrint(), cclass.source,
|
||||||
|
cclass.range, offsets);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user