Browse Source

Added logic to use a different image if the image is not a power of two

akal 9 years ago
parent
commit
227f187327

+ 11 - 0
tools/anki_scene_exporter/lib/images/__init__.py

@@ -0,0 +1,11 @@
+# Copyright (C) 2009-2016, Panagiotis Christopoulos Charitos and contributors.
+# All rights reserved.
+# Code licensed under the BSD License.
+# http://www.anki3d.org/LICENSE
+
+#local imports
+import os
+
+root = (os.path.dirname(os.path.realpath(__file__)))
+files = os.listdir(root)
+d_lib_images = dict([(ff[:-4], os.sep.join([root, ff])) for ff in files if ff.endswith(".png")])

BIN
tools/anki_scene_exporter/lib/images/not_powers_of_two.png


BIN
tools/anki_scene_exporter/lib/images/template.xcf