forked from bartvdbraak/blender
Fix wrong default color for new images in some cases.
This commit is contained in:
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";
|
||||
|
Loading…
Reference in New Issue
Block a user