[Bf-blender-cvs] [34d4ad3] master: Animation Editors: Name filter now updates as you type, making it a true "live search"

Joshua Leung noreply at git.blender.org
Tue Apr 14 08:51:11 CEST 2015


Commit: 34d4ad326cdaf9cf90ac6efbea52ba9d62eac594
Author: Joshua Leung
Date:   Tue Apr 14 18:50:15 2015 +1200
Branches: master
https://developer.blender.org/rB34d4ad326cdaf9cf90ac6efbea52ba9d62eac594

Animation Editors: Name filter now updates as you type, making it a true "live search"

===================================================================

M	source/blender/makesrna/intern/rna_action.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_action.c b/source/blender/makesrna/intern/rna_action.c
index 0cf2c88..29e699a 100644
--- a/source/blender/makesrna/intern/rna_action.c
+++ b/source/blender/makesrna/intern/rna_action.c
@@ -329,6 +329,7 @@ static void rna_def_dopesheet(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "filter_fcurve_name", PROP_STRING, PROP_NONE);
 	RNA_def_property_string_sdna(prop, NULL, "searchstr");
 	RNA_def_property_ui_text(prop, "F-Curve Name Filter", "F-Curve live filtering string");
+	RNA_def_property_flag(prop, PROP_TEXTEDIT_UPDATE);
 	RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL);
 	
 	/* NLA Name Search Settings (Shared with FCurve setting, but with different labels) */
@@ -342,6 +343,7 @@ static void rna_def_dopesheet(BlenderRNA *brna)
 	prop = RNA_def_property(srna, "filter_text", PROP_STRING, PROP_NONE);
 	RNA_def_property_string_sdna(prop, NULL, "searchstr");
 	RNA_def_property_ui_text(prop, "Name Filter", "Live filtering string");
+	RNA_def_property_flag(prop, PROP_TEXTEDIT_UPDATE);
 	RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN | NA_EDITED, NULL);
 	
 	/* NLA Specific Settings */




More information about the Bf-blender-cvs mailing list