bugfix [#20771] Blender crashes after using pop-up color selection dialog in Texture Paint

This commit is contained in:
Campbell Barton 2010-01-22 16:47:52 +00:00
parent 86facbd682
commit 8038171919

@ -209,6 +209,7 @@ static void rna_def_brush(BlenderRNA *brna)
RNA_def_property_update(prop, 0, "rna_Brush_update");
prop= RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR_GAMMA);
RNA_def_property_range(prop, 0.0, 1.0);
RNA_def_property_float_sdna(prop, NULL, "rgb");
RNA_def_property_ui_text(prop, "Color", "");
RNA_def_property_update(prop, 0, "rna_Brush_update");