From: Nikita Kitaev Date: Wed, 2 Dec 2009 01:42:01 +0000 (-0800) Subject: Fix non-vertex ducks not being moved X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=9fc650f69a711788ed059d08f7bc39bdc4aa537f;p=synfig.git Fix non-vertex ducks not being moved --- diff --git a/synfig-studio/src/gtkmm/state_transform.cpp b/synfig-studio/src/gtkmm/state_transform.cpp index 0a9f2ae..dee963e 100644 --- a/synfig-studio/src/gtkmm/state_transform.cpp +++ b/synfig-studio/src/gtkmm/state_transform.cpp @@ -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());