Fix 1894998: Converting the first vertex of a looped bline was causing a crash. ...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 16 Feb 2008 18:59:46 +0000 (18:59 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 16 Feb 2008 18:59:46 +0000 (18:59 +0000)
git-svn-id: http://svn.voria.com/code@1718 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/duckmatic.cpp

index 52a380d..740fee9 100644 (file)
@@ -1733,7 +1733,7 @@ Duckmatic::add_to_ducks(const synfigapp::ValueDesc& value_desc,etl::handle<Canva
                                                tduck->set_name(guid_string(synfigapp::ValueDesc(value_node,first))+".t1");
                                                //tduck->set_name(strprintf("%x-tangent1",value_node->get_link(first).get()));
                                                tduck=add_similar_duck(tduck);
-                                               tduck->set_guid(calc_duck_guid(synfigapp::ValueDesc(value_node,i),transform_stack)^GUID::hasher(".t1"));
+                                               tduck->set_guid(calc_duck_guid(synfigapp::ValueDesc(value_node,first),transform_stack)^GUID::hasher(".t1"));
                                                //add_duck(duck);
                                        }