From: pabs Date: Wed, 28 Jun 2006 15:28:31 +0000 (+0000) Subject: Print a warning instead of an error when we can't find a module, since it confuses... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=3c8b24929765c51ae41675f49c71c7e017d4f301;hp=51503132a4e423e260cf9297ddd7d49d4fdff85c;p=synfig.git Print a warning instead of an error when we can't find a module, since it confuses users into thinking their rendering failed when it didn't. git-svn-id: http://svn.voria.com/code@182 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/module.cpp b/synfig-core/trunk/src/synfig/module.cpp index 8016a9b..7e50d08 100644 --- a/synfig-core/trunk/src/synfig/module.cpp +++ b/synfig-core/trunk/src/synfig/module.cpp @@ -118,7 +118,7 @@ synfig::Module::Register(const String &module_name, ProgressCallback *callback) if(!module) { - if(callback)callback->error(strprintf(_("Unable to find module \"%s\" (%s)"),module_name.c_str(),lt_dlerror())); + if(callback)callback->warning(strprintf(_("Unable to find module \"%s\" (%s)"),module_name.c_str(),lt_dlerror())); return false; }