Add the rest of the types of value nodes that should be ignored by the
curves panel. This patch extends r2033, which fixes issue #2060732.
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2343
1f10aa63-cdf2-0310-b900-
c93c546f37ac
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
+ || x.get_value_type() == ValueBase::TYPE_GRADIENT
+ || x.get_value_type() == ValueBase::TYPE_LIST
+ || x.get_value_type() == ValueBase::TYPE_SEGMENT;
}
};