Author: Diego Barrios Romero <[email protected]>
Date: Tue Mar 13 01:20:22 2012 +0100
No gamma warning if not given parameter
---
synfig-core/src/tool/main.cpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/synfig-core/src/tool/main.cpp b/synfig-core/src/tool/main.cpp
index 78d0870..35cee1d 100644
--- a/synfig-core/src/tool/main.cpp
+++ b/synfig-core/src/tool/main.cpp
@@ -317,10 +317,10 @@ void extract_RendDesc(const po::variables_map& vm,
RendDesc& desc)
}
if (vm.count("gamma"))
{
- synfig::warning(_("Gamma argument is currently
ignored"));
- //int gamma;
- //gamma = vm["gamma"].as<int>();
- //desc.set_gamma(Gamma(gamma));
+ synfig::warning(_("Gamma argument is currently ignored"));
+ //int gamma;
+ //gamma = vm["gamma"].as<int>();
+ //desc.set_gamma(Gamma(gamma));
}
if (w||h)
@@ -399,7 +399,7 @@ int main(int ac, char* av[])
("span,s", span_arg_desc, _("Set the diagonal size of image window
(Span)"))
("antialias,a", antialias_arg_desc, _("Set antialias amount for
parametric renderer."))
("quality,Q", quality_arg_desc->default_value(DEFAULT_QUALITY),
strprintf(_("Specify image quality for accelerated renderer (default=%d)"),
DEFAULT_QUALITY).c_str())
- ("gamma,g", gamma_arg_desc->default_value(2.2), _("Gamma"))
+ ("gamma,g", gamma_arg_desc, _("Gamma"))
("threads,T", threads_arg_desc, _("Enable multithreaded renderer
using specified # of threads"))
("canvas,c", canvas_arg_desc, _("Render the canvas with the given
id instead of the root."))
("output-file,o", output_file_arg_desc, _("Specify output
filename"))
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl