Index: OpenSceneGraph/trunk/src/osgPlugins/ply/typedefs.h
===================================================================
--- OpenSceneGraph/trunk/src/osgPlugins/ply/typedefs.h (revision 10012)
+++ OpenSceneGraph/trunk/src/osgPlugins/ply/typedefs.h (revision 10040)
@@ -20,5 +20,12 @@
 #   include <osg/Notify>
 #    include <cassert>
-#   define MESHASSERT  assert
+
+#ifdef NDEBUG
+#   define MESHASSERT( x )
+#else
+#    define MESHASSERT(x) { if( !(x) )                                      \
+              osg::notify(osg::WARN) << "Ply Loader ##### Assert: " << #x << " #####" << std::endl; }
+#endif
+
 #   define MESHERROR   osg::notify(osg::WARN)
 #   define MESHWARN    osg::notify(osg::WARN)
