From: dooglus Date: Sat, 24 Mar 2007 19:43:48 +0000 (+0000) Subject: The '-g gamma' argument is currently ignored, but that shouldn't stop it being a... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=87ce9c04e961b241578e159b813c8b2f338d813b;p=synfig.git The '-g gamma' argument is currently ignored, but that shouldn't stop it being a legal argument. git-svn-id: http://svn.voria.com/code@382 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 412a5ba..387670d 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -682,10 +682,10 @@ int extract_RendDesc(arg_list_t &arg_list,RendDesc &desc) else if(*iter=="-g") { synfig::warning("Gamma argument is currently ignored"); - //arg_list.erase(iter); - //iter=next++; + arg_list.erase(iter); + iter=next++; //desc.set_gamma(Gamma(atof(iter->c_str()))); - //arg_list.erase(iter); + arg_list.erase(iter); } } if(w&&h)