Author: Carlos Lopez <genet...@gmail.com> Date: Tue Feb 7 19:21:10 2012 +0100
When canvas parameter is not in-line don't show the Outline Grow parameter since it is not used --- synfig-core/src/synfig/layer_pastecanvas.cpp | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/synfig-core/src/synfig/layer_pastecanvas.cpp b/synfig-core/src/synfig/layer_pastecanvas.cpp index 78cf0df..8595593 100644 --- a/synfig-core/src/synfig/layer_pastecanvas.cpp +++ b/synfig-core/src/synfig/layer_pastecanvas.cpp @@ -165,6 +165,11 @@ Layer_PasteCanvas::get_param_vocab()const .set_description(_("Exponential value to grow children Outline layers width")) ); + if(canvas && !(canvas->is_inline())) + { + ret.back().hidden(); + } + // optimize_layers() in canvas.cpp makes a new PasteCanvas layer // and copies over the parameters of the old layer. the // 'curr_time' member wasn't being copied, so I've added it as a ------------------------------------------------------------------------------ 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 Synfig-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synfig-devl