Fix wrong default color for new images in some cases.

This commit is contained in:
Brecht Van Lommel 2010-07-23 14:35:23 +00:00
parent d3c9b72ba6
commit f5dd835850

@ -1245,7 +1245,7 @@ static int new_exec(bContext *C, wmOperator *op)
void IMAGE_OT_new(wmOperatorType *ot)
{
PropertyRNA *prop;
float default_color[4]= {0.0f, 0.0f, 0.0f, 1.0f};
static float default_color[4]= {0.0f, 0.0f, 0.0f, 1.0f};
/* identifiers */
ot->name= "New";