diff options
author | Matt Ebb <matt@mke3.net> | 2010-05-07 07:44:34 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-05-07 07:44:34 +0400 |
commit | 9084df418d1bbd1fd3cf8f1bf118cbef4d50a4c7 (patch) | |
tree | 7ec1f715e00d8149b9740364310a67f91bca1cf9 /source/blender/blenkernel/intern | |
parent | d559cf97bb4e21c988aa9a7f7acbcfa5277634bd (diff) |
Warning cleanup
While I was looking in outliner.c, made some changes to let extra passes display
there such as environment (commented out before due to a previous limitation).
Also changed outliner object visbility/selectability/renderability toggles to use
RNA buttons so you can insert keyframes with RMB menu etc.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/colortools.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c index 44a52964f2a..66ebac2e25e 100644 --- a/source/blender/blenkernel/intern/colortools.c +++ b/source/blender/blenkernel/intern/colortools.c @@ -939,12 +939,12 @@ void scopes_update(Scopes *scopes, ImBuf *ibuf, int use_color_management) { int x, y, c, n, nl; double div, divl; - float *rf; - unsigned char *rc; + float *rf=NULL; + unsigned char *rc=NULL; unsigned int *bin_r, *bin_g, *bin_b, *bin_lum; int savedlines, saveline; float rgb[3], ycc[3]; - int ycc_mode; + int ycc_mode=-1; if (scopes->ok == 1 ) return; |