This commit is contained in:
c0ntrol
2016-04-25 19:25:19 +02:00
parent 443d7491c4
commit 707973fb8d
4 changed files with 3 additions and 2 deletions

View File

@@ -4167,7 +4167,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="tooltip" translatable="yes">Toggle keyframing for this chain entry</property> <property name="tooltip" translatable="yes">Toggle keyframe animation for this parameter</property>
<signal name="toggled" handler="on_curve_toggleentry_param_toggled" /> <signal name="toggled" handler="on_curve_toggleentry_param_toggled" />
<child> <child>
<widget class="GtkImage" id="image2146"> <widget class="GtkImage" id="image2146">

View File

@@ -2747,6 +2747,7 @@ void on_kf_none_toggled( GtkWidget widget, gpointer user_data)
info->uc.selected_parameter_id = -1; info->uc.selected_parameter_id = -1;
disable_widget( "fxanimcontrols" ); disable_widget( "fxanimcontrols" );
disable_widget( "curve" );
if(info->status_lock) if(info->status_lock)
return; return;

View File

@@ -31,6 +31,7 @@ void get_points_from_curve( GtkWidget *curve, int len, float *vec )
void reset_curve( GtkWidget *curve ) void reset_curve( GtkWidget *curve )
{ {
gtk_widget_set_sensitive( GTK_WIDGET(curve), TRUE );
gtk_curve_reset(GTK_CURVE(curve)); gtk_curve_reset(GTK_CURVE(curve));
gtk_curve_set_range( GTK_CURVE(curve), 0.0, 1.0, 0.0, 1.0 ); gtk_curve_set_range( GTK_CURVE(curve), 0.0, 1.0, 0.0, 1.0 );
} }

View File

@@ -2429,7 +2429,6 @@ static void vj_kf_select_parameter(int num)
gchar *name = _utf8str(_effect_get_param_description(entry_tokens[ENTRY_FXID],info->uc.selected_parameter_id)); gchar *name = _utf8str(_effect_get_param_description(entry_tokens[ENTRY_FXID],info->uc.selected_parameter_id));
update_label_str( "curve_parameter", name ); update_label_str( "curve_parameter", name );
g_free(name); g_free(name);
set_toggle_button( "curve_toggleentry", entry_tokens[ENTRY_KF_STATUS]);
reset_curve( glade_xml_get_widget_(info->main_window, "curve")); reset_curve( glade_xml_get_widget_(info->main_window, "curve"));