diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-07-23 18:35:23 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-07-23 18:35:23 +0400 |
commit | f5dd835850d752ccedb9b5b6a5b6ed9b1ffd399f (patch) | |
tree | 7c1c4b229bbfbb1b319925f6d075a8432bd136e3 /source/blender | |
parent | d3c9b72ba6842b8531b18cfd32c75a34399e9be1 (diff) |
Fix wrong default color for new images in some cases.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index 501d1ddc181..d6ffcf243cf 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -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"; |