|
From: <axl...@us...> - 2008-12-30 19:49:28
|
Revision: 102
http://hgengine.svn.sourceforge.net/hgengine/?rev=102&view=rev
Author: axlecrusher
Date: 2008-12-30 19:49:26 +0000 (Tue, 30 Dec 2008)
Log Message:
-----------
warn when an asset type is not found
Modified Paths:
--------------
Mercury2/src/MercuryAsset.cpp
Modified: Mercury2/src/MercuryAsset.cpp
===================================================================
--- Mercury2/src/MercuryAsset.cpp 2008-12-30 19:40:22 UTC (rev 101)
+++ Mercury2/src/MercuryAsset.cpp 2008-12-30 19:49:26 UTC (rev 102)
@@ -30,6 +30,7 @@
std::list< std::pair< std::string, Callback0R< MAutoPtr<MercuryAsset> > > >::iterator i;
for (i = m_factoryCallbacks.begin(); i != m_factoryCallbacks.end(); ++i)
if (i->first == t) return i->second();
+ printf("WARNING: Asset type %s not found.\n", type.c_str());
return NULL;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|