Browse Source

- Fixed the texture packer exporter (removed the obsolete "# "token) and turned-off trim support.

MelvMay-GG 12 years ago
parent
commit
d88cb5d

+ 1 - 1
tools/TexturePacker/T2DMIT/exporter.xml

@@ -29,7 +29,7 @@
     </files>
 
     <!-- target framework supports trimming -->
-    <supportsTrimming>true</supportsTrimming>
+    <supportsTrimming>false</supportsTrimming>
 
     <!-- target framework supports rotated sprites -->
     <supportsRotation>false</supportsRotation>

+ 1 - 1
tools/TexturePacker/T2DMIT/template.asset.taml

@@ -1,6 +1,6 @@
 <ImageAsset
     AssetName="{{texture.trimmedName}}"
-    ImageFile="@assetFile=#{{texture.fullName}}">	
+    ImageFile="@assetFile={{texture.fullName}}">	
 	<ImageAsset.Cells>
 		{% for sprite in allSprites %}<Cell Offset="{{sprite.frameRect.x}} {{sprite.frameRect.y}}" Width="{{sprite.frameRect.width}}" Height="{{sprite.frameRect.height}}"/>
 		{% endfor %}