Author: Carlos Lopez <[email protected]>
Date:   Sun Aug 28 18:41:15 2011 +0200

Fix bug. When connecting a new bline to the layer, look up correctly for other 
parameter that might be bline linked.

---

 synfig-core/src/synfig/layer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/synfig-core/src/synfig/layer.cpp b/synfig-core/src/synfig/layer.cpp
index cfaa866..17a71da 100644
--- a/synfig-core/src/synfig/layer.cpp
+++ b/synfig-core/src/synfig/layer.cpp
@@ -265,7 +265,7 @@ Layer::connect_dynamic_param(const String& param, 
etl::loose_handle<ValueNode> v
                for (iter = dynamic_param_list().begin(); iter != 
dynamic_param_list().end(); iter++)
                {
                        String name(iter->first);
-                       Vocab::iterator viter(vocab.find_paramdesc(param));
+                       Vocab::iterator viter(vocab.find_paramdesc(name));
                        if(viter->is_bline_linked())
                                
(iter->second)->set_bline(ValueNode::Handle(value_node));
                }


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to