Fix non-vertex ducks not being moved
authorNikita Kitaev <nikitakit@gmail.com>
Wed, 2 Dec 2009 01:42:01 +0000 (17:42 -0800)
committerNikita Kitaev <nikitakit@gmail.com>
Wed, 2 Dec 2009 01:42:01 +0000 (17:42 -0800)
synfig-studio/src/gtkmm/state_transform.cpp

index 0a9f2ae..dee963e 100644 (file)
@@ -699,7 +699,7 @@ DuckDrag_Combo::duck_drag(Duckmatic* duckmatic, const synfig::Vector& vector)
                }
                for(i=0,iter=selected_ducks.begin();iter!=selected_ducks.end();++iter,i++)
                {
-                       if(!((*iter)->get_type()!=Duck::TYPE_VERTEX&&(*iter)->get_type()!=Duck::TYPE_POSITION))
+                       if((*iter)->get_type()!=Duck::TYPE_VERTEX&&(*iter)->get_type()!=Duck::TYPE_POSITION)
                                (*iter)->set_trans_point(positions[i]+vect, time);
                }
                DuckList duck_list(duckmatic->get_duck_list());