aboutsummaryrefslogtreecommitdiff
path: root/tools/TexturePacker
diff options
context:
space:
mode:
authortheuni <theuni@svn>2010-11-19 07:09:27 +0000
committertheuni <theuni@svn>2010-11-19 07:09:27 +0000
commit14214ccbeb7175319cc79b9d151075d56d31889d (patch)
tree9983be58bcac605045947b8c3a9beb1fada9f862 /tools/TexturePacker
parent9de85e99960e489a4b9209efb93fffd9d9540c75 (diff)
added: TexturePacker: show original file when a dupe is detected. Acked by JM.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@35328 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'tools/TexturePacker')
-rw-r--r--tools/TexturePacker/XBMCTex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/TexturePacker/XBMCTex.cpp b/tools/TexturePacker/XBMCTex.cpp
index 94d0d807b2..a9278295fb 100644
--- a/tools/TexturePacker/XBMCTex.cpp
+++ b/tools/TexturePacker/XBMCTex.cpp
@@ -399,7 +399,7 @@ int createBundle(const std::string& InputDir, const std::string& OutputFile, dou
MD5Update(&ctx,(const uint8_t*)image->pixels,image->h*image->pitch);
if (checkDupe(&ctx,hashes,dupes,i))
{
- printf("duplicate, skipping compression\n");
+ printf("**** duplicate of %s\n", files[dupes[i]].GetPath());
file.GetFrames().insert(file.GetFrames().end(),
files[dupes[i]].GetFrames().begin(),
files[dupes[i]].GetFrames().end());
@@ -435,7 +435,7 @@ int createBundle(const std::string& InputDir, const std::string& OutputFile, dou
if (checkDupe(&ctx,hashes,dupes,i))
{
- printf("duplicate, skipping compression\n");
+ printf("**** duplicate of %s\n", files[dupes[i]].GetPath());
file.GetFrames().insert(file.GetFrames().end(),
files[dupes[i]].GetFrames().begin(),
files[dupes[i]].GetFrames().end());