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 {