mirror of
https://github.com/OMGeeky/ATCS.git
synced 2026-01-04 18:44:00 +01:00
Fixed missing attributes in TMX file loading and writing (sizes in
tilesets). Added a fancy logo in the workspace selector... could look better though.
This commit is contained in:
@@ -257,7 +257,11 @@ public class TMXMapWriter
|
||||
if (tileBitmapFile != null) {
|
||||
w.startElement("image");
|
||||
w.writeAttribute("source", getRelativePath(wp, tileBitmapFile));
|
||||
|
||||
if (set.sheetDimensions != null) {
|
||||
w.writeAttribute("width", set.sheetDimensions.width);
|
||||
w.writeAttribute("height", set.sheetDimensions.height);
|
||||
}
|
||||
|
||||
Color trans = set.getTransparentColor();
|
||||
if (trans != null) {
|
||||
w.writeAttribute("trans", Integer.toHexString(
|
||||
|
||||
Reference in New Issue
Block a user