Explorar o código

edges mode disabled by default

dmuratshin %!s(int64=8) %!d(string=hai) anos
pai
achega
8e792eef82

BIN=BIN
examples/Demo/data/res.xml.ox/atlas/1_0.png


BIN=BIN
examples/Demo/data/res.xml.ox/atlas/3_0.png


BIN=BIN
examples/Demo/data/res.xml.ox/atlas/4_0.png


BIN=BIN
examples/Demo/data/res.xml.ox/atlas/5_0.png


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
examples/Demo/data/res.xml.ox/meta.xml


+ 1 - 1
examples/Demo/data/xmls/res.xml

@@ -10,7 +10,7 @@
 
 		<image file="palette.png"/>		
 		<image file="snow.png"/>
-		<image file="edges.png"/>
+		<image file="edges.png" trim="false" extend="true"/>
 		
 		<image file="flower.png"/>
 		

+ 1 - 1
tools/resbuild/process_atlas.py

@@ -354,7 +354,7 @@ def processRS(context, walker):
     border = as_int(image_el.getAttribute("border"))
 
     trim = as_bool(image_el.getAttribute("trim"), True)
-    extend = as_bool(image_el.getAttribute("extend"), True)
+    extend = as_bool(image_el.getAttribute("extend"), False)
     
     if not extend:
         pass

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio