**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2008 Gerco Ballintijn
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
return -channels[chan].values[time];
}
- static bool is_supported(const synfigapp::ValueDesc& x)
+ static bool is_not_supported(const synfigapp::ValueDesc& x)
{
return x.get_value_type() == ValueBase::TYPE_STRING
- && x.get_value_type() == ValueBase::TYPE_CANVAS;
+ || x.get_value_type() == ValueBase::TYPE_CANVAS;
}
};
std::list<synfigapp::ValueDesc>::iterator iter;
for(iter=value_descs.begin();iter!=value_descs.end();++iter)
{
- if (! CurveStruct::is_supported(*iter))
+ if (CurveStruct::is_not_supported(*iter))
continue;
try {