diff options
author | Elia Sarti <vekoon@gmail.com> | 2010-03-06 02:43:28 +0300 |
---|---|---|
committer | Elia Sarti <vekoon@gmail.com> | 2010-03-06 02:43:28 +0300 |
commit | 6bfbffef564c1396fe519c9ff17642c5a1773850 (patch) | |
tree | 21a382fbd0952156dc1f1d6ffa00bb20c03aa529 /source | |
parent | 1d21d6ca9a32d68e8b2457b60d416ee370a2009e (diff) |
Bugfix for #21466, paste and copy ramps doesnt work
Fixed typo
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 0dd8e3d412d..8eb3132921d 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -1052,7 +1052,7 @@ static void ui_but_copy_paste(bContext *C, uiBut *but, uiHandleButtonData *data, /* colorband (not supported by system clipboard) */ else if(but->type==BUT_COLORBAND) { if(mode=='c') { - if(but->poin) + if(but->poin==NULL) return; memcpy(&but_copypaste_coba, but->poin, sizeof(ColorBand)); |