Revision 51262d81
Added by Leszek Koltunski over 1 year ago
src/main/java/org/distorted/objectlib/json/JsonWriter.java | ||
---|---|---|
135 | 135 |
JSONObject face = new JSONObject(); |
136 | 136 |
face.put("bandIndex", bandIndices[i]); |
137 | 137 |
|
138 |
int sticker = object.getVariantFaceColor(variant,i);
|
|
139 |
face.put("sticker", sticker);
|
|
138 |
int stiShape = object.getVariantStickerShape(variant,i);
|
|
139 |
face.put("sticker", stiShape);
|
|
140 | 140 |
face.put("isOuter", faceOuter[i]); |
141 | 141 |
|
142 | 142 |
JSONArray vertArr = new JSONArray(); |
Also available in: Unified diff
Fix touch-replacing colors of the stickers. Now correctly takes into account the shape of the sticker.