Module: synfig/synfig
Branch: genete_width_outline
Commit: 9de231a55f85b7989d26954150005e3babb5d9ca
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig/synfig;a=commit;h=9de231a55f85b7989d26954150005e3babb5d9ca

Author: Carlos Lopez <[email protected]>
Date:   Thu Jan 13 14:12:02 2011 +0100

Make hidden sub-parameters not visible on parameters panel.

---

 synfig-studio/src/gui/trees/canvastreestore.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/synfig-studio/src/gui/trees/canvastreestore.cpp 
b/synfig-studio/src/gui/trees/canvastreestore.cpp
index 7c9a4b6..3fcb04a 100644
--- a/synfig-studio/src/gui/trees/canvastreestore.cpp
+++ b/synfig-studio/src/gui/trees/canvastreestore.cpp
@@ -431,6 +431,8 @@ CanvasTreeStore::set_row(Gtk::TreeRow 
row,synfigapp::ValueDesc value_desc, bool
                                LinkableValueNode::Vocab::iterator 
iter(vocab.begin());
                                for(int i=0;i<linkable->link_count();i++, 
iter++)
                                {
+                                       if(iter->get_hidden())
+                                               continue;
                                        Gtk::TreeRow 
child_row=*(append(row.children()));
                                        child_row[model.link_id] = i;
                                        child_row[model.canvas] = 
static_cast<Canvas::Handle>(row[model.canvas]);


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to