// 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()))
{
}
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(
}
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(
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(