From 9e9c326de756bdd7e29b3b9d3e6574fbe1b9b280 Mon Sep 17 00:00:00 2001 From: gballintijn Date: Fri, 13 Feb 2009 16:45:12 +0000 Subject: [PATCH] #2574520: Complete the fix in r2033. 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 --- synfig-studio/trunk/src/gtkmm/widget_curves.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp index c5ff451..b4a5678 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_curves.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_curves.cpp @@ -294,7 +294,10 @@ struct studio::Widget_Curves::CurveStruct : sigc::trackable 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; } }; -- 2.7.4