[Bf-blender-cvs] [6a58557] master: Fix -1 passed as bool
Campbell Barton
noreply at git.blender.org
Fri Jul 18 05:33:25 CEST 2014
Commit: 6a58557794262e32c2ceb3d46bb41cc8104232df
Author: Campbell Barton
Date: Fri Jul 18 11:51:48 2014 +1000
https://developer.blender.org/rB6a58557794262e32c2ceb3d46bb41cc8104232df
Fix -1 passed as bool
===================================================================
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 ecfa128..750c98a 100644
--- a/source/blender/makesrna/intern/rna_action.c
+++ b/source/blender/makesrna/intern/rna_action.c
@@ -281,7 +281,7 @@ static void rna_def_dopesheet(BlenderRNA *brna)
RNA_def_property_boolean_sdna(prop, NULL, "flag", ADS_FLAG_SHOW_DBFILTERS);
RNA_def_property_ui_text(prop, "Show Datablock Filters",
"Show options for whether channels related to certain types of data are included");
- RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, -1);
+ RNA_def_property_ui_icon(prop, ICON_DISCLOSURE_TRI_RIGHT, 1);
RNA_def_property_update(prop, NC_ANIMATION | ND_ANIMCHAN, NULL);
/* General Filtering Settings */
More information about the Bf-blender-cvs
mailing list