checkpoint
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 14 Nov 2007 22:58:38 +0000 (22:58 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Wed, 14 Nov 2007 22:58:38 +0000 (22:58 +0000)
git-svn-id: http://svn.voria.com/code@1151 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index fec7061..da1b6a2 100644 (file)
@@ -534,7 +534,8 @@ Duckmatic::signal_edited_selected_ducks()
        // Go ahead and call everyone's signals
        for(iter=ducks.begin();iter!=ducks.end();++iter)
        {
-               if ((*iter)->get_type() == Duck::TYPE_ANGLE)
+               if ((*iter)->get_type() == Duck::TYPE_ANGLE ||
+                       (*iter)->get_type() == Duck::TYPE_TANGENT)
                {
                        if(!(*iter)->signal_edited_angle()((*iter)->get_rotations()))
                        {
@@ -1019,6 +1020,7 @@ Duckmatic::add_to_ducks(const synfigapp::ValueDesc& value_desc,etl::handle<Canva
                        }
 
                        duck->signal_edited().clear(); // value_desc.get_value_type() == ValueBase::TYPE_REAL:
+                       printf("DESC REAL, DUCK %d\n", int(duck->get_type()));
                        duck->signal_edited().connect(
                                sigc::bind(
                                        sigc::mem_fun(
@@ -1095,6 +1097,7 @@ Duckmatic::add_to_ducks(const synfigapp::ValueDesc& value_desc,etl::handle<Canva
                        }
 
                        duck->signal_edited().clear(); // value_desc.get_value_type() == ValueBase::TYPE_ANGLE:
+                       printf("DESC ANGLE, DUCK %d\n", int(duck->get_type()));
                        duck->signal_edited_angle().clear();
                        duck->signal_edited_angle().connect(
                                sigc::bind(
@@ -1194,6 +1197,7 @@ Duckmatic::add_to_ducks(const synfigapp::ValueDesc& value_desc,etl::handle<Canva
                                duck->set_type(Duck::TYPE_POSITION);
 
                        duck->signal_edited().clear(); // value_desc.get_value_type() == ValueBase::TYPE_VECTOR:
+                       printf("DESC VECTOR, DUCK %d\n", int(duck->get_type()));
                        duck->signal_edited().connect(
                                sigc::bind(
                                        sigc::mem_fun(