Revision: 26198
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=26198
Author:   campbellbarton
Date:     2010-01-22 17:47:52 +0100 (Fri, 22 Jan 2010)

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

Modified Paths:
--------------
    trunk/blender/source/blender/makesrna/intern/rna_brush.c

Modified: trunk/blender/source/blender/makesrna/intern/rna_brush.c
===================================================================
--- trunk/blender/source/blender/makesrna/intern/rna_brush.c    2010-01-22 
16:28:16 UTC (rev 26197)
+++ trunk/blender/source/blender/makesrna/intern/rna_brush.c    2010-01-22 
16:47:52 UTC (rev 26198)
@@ -209,6 +209,7 @@
        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");


_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to