From e03bbf12c356c6f1f29095826293b3a074d77042 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Tue, 26 Jan 2010 10:29:10 +0000 Subject: Assorted Bugfixes: * Adding new Keying Set paths didn't initialise the id-type setting. Make this default to Object * Fixed bad poll callbacks for Graph Editor operators working on keyframes, which were expecting F-Curves to be selected too to be eligible for editing. This was often too restrictive, resulting in nothing happening. * Fixed error with default property for Debug Redraw-Timer Operator not being set. However, this operator is currently still no use, since the info popups are now disabled. --- source/blender/windowmanager/intern/wm_operators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/windowmanager') diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 40b9714a6e1..04d6a5b2325 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2661,7 +2661,7 @@ static void WM_OT_redraw_timer(wmOperatorType *ot) ot->exec= redraw_timer_exec; ot->poll= WM_operator_winactive; - RNA_def_enum(ot->srna, "type", prop_type_items, 0, "Type", ""); + ot->prop= RNA_def_enum(ot->srna, "type", prop_type_items, 0, "Type", ""); RNA_def_int(ot->srna, "iterations", 10, 1,INT_MAX, "Iterations", "Number of times to redraw", 1,1000); } -- cgit v1.2.3