Browse Source

edges mode disabled by default

dmuratshin 8 years ago
parent
commit
8e792eef82

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


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


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


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


File diff suppressed because it is too large
+ 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="palette.png"/>		
 		<image file="snow.png"/>
 		<image file="snow.png"/>
-		<image file="edges.png"/>
+		<image file="edges.png" trim="false" extend="true"/>
 		
 		
 		<image file="flower.png"/>
 		<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"))
     border = as_int(image_el.getAttribute("border"))
 
 
     trim = as_bool(image_el.getAttribute("trim"), True)
     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:
     if not extend:
         pass
         pass

Some files were not shown because too many files changed in this diff